Documentation Index
Fetch the complete documentation index at: https://sendroid.app/docs/llms.txt
Use this file to discover all available pages before exploring further.
Generate an app password
Enable two-step verification
Open Google Account security and turn on Two-Step Verification under “How you sign in to Google.”
Open App passwords
On the same page, find App passwords. If you do not see it, confirm 2FA is enabled and your account type supports it (Workspace admins may need to configure this separately).
IMAP / SMTP server settings
| Protocol | Server | Port | Encryption |
|---|---|---|---|
| IMAP (incoming) | imap.gmail.com | 993 | SSL/TLS |
| SMTP (outgoing) | smtp.gmail.com | 465 | SSL/TLS |
| SMTP (alternate) | smtp.gmail.com | 587 | STARTTLS |
- Username: Full Gmail address (e.g.
you@gmail.com) - Password: App password (not your Google account login password)
Enable IMAP in Gmail web: Settings → Forwarding and POP/IMAP. Google also offers OAuth 2.0 for developers; OAuth is recommended over app passwords in production.
Frequently asked questions
Why do I need an app password instead of my regular Gmail password?
Why do I need an app password instead of my regular Gmail password?
Google blocks third-party clients from authenticating with your main account password. App passwords are scoped to mail only and revokable independently — generate at myaccount.google.com/apppasswords.
Where do I enable IMAP in Gmail?
Where do I enable IMAP in Gmail?
Gmail web → click the gear icon → See all settings → Forwarding and POP/IMAP → Enable IMAP → Save. Without this, even a correct app password will fail to connect.
Does this work with Google Workspace?
Does this work with Google Workspace?
Yes if your admin has IMAP and app passwords enabled. Some orgs disable both in the Admin Console (Apps → Google Workspace → Gmail → End User Access). Check with your IT admin if connections fail.

