'david@invoiceninja.com', ]; $user = MultiDB::hasUser($query); Config::set('mail.driver', 'gmail'); Config::set('services.gmail.token', $user->oauth_user_token); (new MailServiceProvider(app()))->register(); Mail::to('david@romulus.com.au') ->send(new SupportMessageSent('a cool message')); } }