Gmail Send Email Tool
Send emails via Gmail using either OAuth or App Password authentication.
Overview
The Gmail Send Email tool allows you to send emails programmatically from your Gmail account. It supports both authentication methods:
- OAuth: Full API access (recommended)
- App Password: Simple SMTP sending
Prerequisites
You must first connect a Gmail account:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
to | array[string] | Yes | List of recipient email addresses |
subject | string | Yes | Email subject line |
body | string | Yes | Plain text email body |
html_body | string | No | HTML version of the email body |
cc | array[string] | No | List of CC recipients |
bcc | array[string] | No | List of BCC recipients |
Usage Examples
Basic Email
{
"to": ["recipient@example.com"],
"subject": "Hello from Reeva",
"body": "This is a plain text email sent via Reeva!"
}
HTML Email
{
"to": ["recipient@example.com"],
"subject": "Newsletter - January 2025",
"body": "View this email in HTML for the best experience.",
"html_body": "<h1>January Newsletter</h1><p>Check out our latest updates...</p>"
}
Email with CC and BCC
{
"to": ["primary@example.com"],
"cc": ["teammate@company.com"],
"bcc": ["archive@company.com"],
"subject": "Project Update",
"body": "Here's the latest status on our project..."
}
Multiple Recipients
{
"to": [
"user1@example.com",
"user2@example.com",
"user3@example.com"
],
"subject": "Team Announcement",
"body": "Important update for the whole team..."
}
Response
Success Response
{
"success": true,
"message": "Email sent successfully to 1 recipient(s)",
"from": "your-email@gmail.com",
"to": ["recipient@example.com"],
"subject": "Hello from Reeva"
}
Error Response
{
"error": "Gmail authentication failed. Check your credentials..."
}
Best Practices
Email Formatting
- Always include both
bodyandhtml_bodyfor best compatibility - Plain text body acts as fallback for email clients that don't support HTML
- Keep subject lines under 60 characters for mobile readability
Sending Limits
Gmail has sending limits:
- Individual accounts: 500 recipients per day
- Google Workspace: 2,000 recipients per day
Authentication Method
Choose based on your needs:
- OAuth: Better for production apps, auto-refreshing tokens
- App Password: Simpler setup, good for personal use
Common Use Cases
1. Automated Notifications
Send email alerts when specific events occur in your workflow.
2. Newsletter Distribution
Send bulk emails to subscribers (respecting Gmail's sending limits).
3. Form Submissions
Automatically email form responses to yourself or team members.
4. Report Distribution
Email generated reports or summaries on a schedule.
5. Transactional Emails
Send confirmations, receipts, or status updates to users.
Troubleshooting
Authentication Errors
"Gmail authentication failed"
- Verify your Gmail account is still connected in Accounts
- For OAuth: Token refresh may have failed - try reconnecting
- For App Password: Check the password is still valid
Sending Errors
"Failed to send email"
- Check recipient email addresses are valid
- Verify you haven't hit Gmail's sending limits
- Ensure your account isn't restricted by Google
"Invalid credentials format"
- Your account type doesn't match the tool's expectations
- Reconnect your Gmail account
Credits Cost
1 credit per email sent (regardless of number of recipients)
Related Tools
- Gmail - Simple Search - Basic email search with both auth methods
- Gmail - Advanced Search - Advanced search with labels and pagination (OAuth only)
- Gmail - Read Email - Read full email content by message ID
- Gmail - Summarize Thread - AI summary of email threads
- Gmail - Create Draft - Create draft emails
- Gmail - Update Draft - Modify existing drafts
- Gmail - List Drafts - Browse and filter drafts
- Gmail - Send Draft - Send existing drafts
- Gmail - Delete Draft - Permanently delete drafts
Support
Need help? Check our troubleshooting guide or contact support.