Feature #10394
closedemail service for tenent to use their own email as sending email
Subtasks
Related issues
Updated by sairam machavarapu about 1 month ago
- Due date set to 08/13/2026
- Status changed from New to Closed
- % Done changed from 0 to 100
Google Email Integration & Top-Up Credits
I developed a feature that allows users to connect their Google/Gmail account securely using OAuth 2.0.
1. Google OAuth integration
Integrated Google Cloud Console OAuth authentication.
Configured the required OAuth consent screen and permissions/scopes.
Users are shown a Google permission-consent screen before granting access.
After the user provides consent, the application receives the required authorization to access the permitted email functionality.
2. Sending emails from the user's Gmail account
Successfully implemented the email-sending functionality using the authenticated Google account.
Once the user authorizes the application, emails can be sent from the user's own email address to the intended recipients.
This provides a secure flow because the user explicitly grants permission rather than providing their Gmail password to the application.
3. Top-up credit system
Also implemented a credit/top-up system for the email functionality.
Users can purchase/add credits to their account.
The available credits can be tracked and used when sending emails.
This provides a controlled billing mechanism for the email service.