I'm working on a Laravel-based SaaS where users should be able to send emails using their own company email accounts.
The problem is that different companies use different providers: some use Google Workspace, some Microsoft 365, Zoho, Yahoo, or their own mail servers.
Is there any Laravel package that handles this kind of integration?
Ideally, users should be able to connect their email account through OAuth (where supported), and we should be able to send emails from their mailbox without asking them to share their email password.
I know Google and Microsoft have their own APIs, but I'm curious if there's a common solution for handling multiple providers.
Has anyone built something similar? Would love to hear how you approached it.
commit 6b93339