Features
- Email sending and receiving
- HTML and plain text support
- Attachment handling
- Thread management
- SMTP integration
- IMAP/POP3 support
- Template support
Installation
Configuration
Basic Setup
Environment Variables
Basic Usage
Sending Emails
HTML Emails
Attachments
Sending Attachments
Receiving Attachments
Gmail Configuration
App Passwords
For Gmail, use App Passwords:- Enable 2-Factor Authentication on your Google account
- Go to Google Account > Security > App passwords
- Generate an app password for “Mail”
- Use this password in your configuration
Best Practices
Email Security
Email Security
- Use app-specific passwords
- Enable SSL/TLS
- Don’t store passwords in code
- Use environment variables
Deliverability
Deliverability
- Verify your domain
- Use proper sender addresses
- Avoid spam triggers
- Implement DKIM and SPF
Performance
Performance
- Poll inbox at reasonable intervals
- Clean up old emails
- Limit attachment sizes
- Use connection pooling
Supported Email Services
- Gmail
- Outlook/Office 365
- Yahoo Mail
- Custom SMTP/IMAP servers