userCount} users", ); } public function content(): Content { return new Content( markdown: 'mail.user-emails-report', with: [ 'userCount' => $this->userCount, ], ); } /** * @return array */ public function attachments(): array { return [ Attachment::fromData(fn (): string => $this->csv, $this->fileName) ->withMime('text/csv'), ]; } }