onQueue('emails'); } public function envelope(): Envelope { return new Envelope( subject: 'Your Founder Discount - First Month for $1', )->from(config('mail.from.address', 'hello@example.com'), 'Victor'); } public function content(): Content { return new Content( markdown: 'mail.drip.promo-code', with: [ 'userName' => $this->user->name, 'promoCode' => 'FOUNDER', ], ); } /** * Get the middleware the job should pass through. * * @return array */ public function middleware(): array { return [new RateLimited('emails', releaseAfter: 1)]; } }