<commit_before><?php

declare(strict_types=1);

namespace App\Mail;

use App\Models\DocuSignEnvelope;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Symfony\Component\Mime\Email;

class MembershipAgreementDocuSignEnvelopeReceived extends Mailable implements ShouldQueue
{
    use Queueable;
    use SerializesModels;

    public DocuSignEnvelope $envelope;

    /**
     * Create a new message instance.
     */
    public function __construct(DocuSignEnvelope $envelope)
    {
        $this->envelope = $envelope;
    }

    /**
     * Build the message.
     */
    public function build(): self
    {
        return $this->from('<EMAIL>', 'RoboJackets')
                    ->to($this->envelope->signedBy->gt_email, $this->envelope->signedBy->name)
                    ->cc('Membership Agreement Archives <'.config('services.membership_agreement_archive_email').'>')<commit_msg>Fix CC field on acknowledgement email<commit_after><?php

declare(strict_types=1);

namespace App\Mail;

use App\Models\DocuSignEnvelope;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Symfony\Component\Mime\Email;

class MembershipAgreementDocuSignEnvelopeReceived extends Mailable implements ShouldQueue
{
    use Queueable;
    use SerializesModels;

    public DocuSignEnvelope $envelope;

    /**
     * Create a new message instance.
     */
    public function __construct(DocuSignEnvelope $envelope)
    {
        $this->envelope = $envelope;
    }

    /**
     * Build the message.
     */
    public function build(): self
    {
        return $this->from('<EMAIL>', 'RoboJackets')
                    ->to($this->envelope->signedBy->gt_email, $this->envelope->signedBy->name)
                    ->cc('Membership Agreement Archives', config('services.membership_agreement_archive_email'))
{'fraction_non_alphanumeric': 0.11155981827359919, 'fraction_numerical': 0.0010095911155981827, 'mean_word_length': 3.4044444444444446, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 26, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3398522', 'n_tokens_mistral': 583, 'n_tokens_neox': 585, 'n_words': 116}