07 Email Integration
Email Integration Guide
Overview
Email Integration enables you to send professional communications through your preferred email provider while maintaining brand consistency and tracking delivery. Connect Gmail, Outlook, or any SMTP provider to send order confirmations, invoices, reminders, and more.
Supported Providers
Gmail
- Best for: Personal and business Gmail users
- Setup Time: 2 minutes
- Features: Send from Gmail, track opens/clicks, use signatures
- Requirements: Google account with Gmail enabled
Outlook
- Best for: Microsoft 365 and Exchange users
- Setup Time: 3 minutes
- Features: Exchange sync, professional signatures, read receipts
- Requirements: Microsoft 365 or Exchange account
Custom SMTP
- Best for: Organizations with own mail servers
- Setup Time: 5-10 minutes
- Features: Full control, custom configurations, any provider
- Requirements: SMTP server details
Transactional Providers
| Provider | Best For | Pricing |
|---|---|---|
| SendGrid | High volume | Free tier available |
| Mailgun | Developer-friendly | Pay-as-you-go |
| Amazon SES | Cost-effective AWS users | Per-email pricing |
| Postmark | Transactional email | Monthly plans |
Setup Instructions
Gmail Setup
Step 1: Start Connection
- Go to Dashboard → Settings → Integrations
- Click the Email tab
- Click Connect under Gmail
Step 2: Authorize
- Sign in to your Google account
- Grant permissions:
- Send email as you
- View your email address
- Click Allow
Step 3: Configure Settings
| Setting | Description | Example |
|---|---|---|
| From Name | Display name for sent emails | "ABC Notary Services" |
| From Email | Email address to send from | yourname@gmail.com |
| Reply-To | Where replies go | yourname@gmail.com |
| Signature | Auto-added footer | Your contact info |
Step 4: Test Connection
- Click Send Test Email
- Check your inbox for the test message
- Click Save to complete setup
Outlook Setup
Step 1: Start Connection
- Go to Dashboard → Settings → Integrations
- Click the Email tab
- Click Connect under Outlook
Step 2: Authorize
- Sign in to your Microsoft account
- Grant permissions to send mail
- Complete the OAuth flow
Step 3: Configure Settings
| Setting | Description | Example |
|---|---|---|
| From Name | Display name for sent emails | "ABC Notary Services" |
| From Email | Email address to send from | yourname@company.com |
| Reply-To | Where replies go | yourname@company.com |
| Signature | Auto-added footer | Your contact info |
Step 4: Test Connection
- Click Send Test Email
- Check your Outlook inbox
- Click Save to complete setup
Custom SMTP Setup
Step 1: Gather Server Details
From your email provider, get:
- SMTP server address
- SMTP port (usually 587 for TLS, 465 for SSL)
- Username and password
- Authentication method
Step 2: Enter Settings
- Go to Dashboard → Settings → Integrations
- Click the Email tab
- Click Connect under Custom SMTP
- Enter your server details:
Server: smtp.yourprovider.com Port: 587 Username: yourname@yourprovider.com Password: ********
Step 3: Security Settings
| Option | Description | Recommended |
|---|---|---|
| Use TLS | Encrypt connection | ✅ Enabled |
| Use SSL | Alternative encryption | TLS preferred |
| Verify Certificate | Check server cert | ✅ Enabled |
Step 4: Test Connection
- Click Send Test Email
- Check your inbox
- Click Save to complete setup
Email Configuration
Tracking Settings
Enable tracking to measure engagement:
| Setting | Description | Use When |
|---|---|---|
| Track Opens | Know when emails are read | All communications |
| Track Clicks | Monitor link engagement | Emails with links |
| Unsubscribe Link | Allow opt-out | Marketing emails |
Template Management
Create reusable email templates:
- Go to Settings → Communications → Templates
- Click New Template
- Enter template details:
- Name: Descriptive name
- Subject: With variables like
{{clientName}} - Body: HTML or plain text with variables
- Save and use in communications
Common Variables
| Variable | Replaced With |
|---|---|
{{clientName}} | Client's full name |
{{orderNumber}} | Order reference |
{{appointmentDate}} | Scheduled date/time |
{{companyName}} | Your agency name |
{{notaryName}} | Assigned notary name |
Sending Emails
From Orders
- Open an order
- Click Communications tab
- Click New Message
- Select Email as type
- Compose and send
From Invoices
- Open an invoice
- Click Send Invoice
- Select email template
- Preview and send
Bulk Email
Send to multiple recipients:
- Go to the list view (Orders, Companies, etc.)
- Filter to your target audience
- Select recipients using checkboxes
- Click Send Email
- Compose and send
Delivery Tracking
Check Email Status
- Go to Dashboard → Communications
- Filter by Email
- Each message shows:
- ✅ Delivered - Successfully sent
- 🔄 Pending - queued for delivery
- ❌ Bounced - delivery failed
- 👁️ Opened - recipient read it
- 🔗 Clicked - recipient clicked link
Handling Bounces
Soft Bounce (temporary issues):
- Mailbox full
- Server temporarily unavailable
- System auto-retries up to 3 times
Hard Bounce (permanent issues):
- Invalid email address
- Domain doesn't exist
- System marks email as invalid
Unsubscribes
Recipients who unsubscribe are:
- Added to suppression list
- Excluded from future emails
- Can be re-enabled if requested
Troubleshooting
Email Not Sending
Symptom: Email stuck in "Pending" status
Solutions:
- Check connection status in integration settings
- Verify credentials are current
- Check daily sending limits
- Review error logs in Settings → Logs
High Bounce Rate
Symptom: Many emails bouncing back
Solutions:
- Verify email addresses before sending
- Check for typos in recipient addresses
- Review suppression list for false positives
- Consider using email validation service
Emails Going to Spam
Symptom: Recipients not finding emails
Solutions:
- Set up SPF records
- Configure DKIM signing
- Avoid spam trigger words
- Include physical mailing address
- Keep text-to-image ratio balanced
Authentication Issues
Symptom: "Invalid credentials" error
Solutions:
- Re-authenticate with provider
- Check for password changes
- Verify OAuth scopes
- Regenerate API keys if using
Best Practices
1. Subject Lines
- Keep under 50 characters
- Be clear and specific
- Include order number when applicable
- Avoid all caps and excessive punctuation
Good Examples:
- "Appointment Confirmation - Order #12345"
- "Invoice Ready: ABC Company - $250.00"
- "Document Request for Loan Signing"
2. Email Content
- Use clear, professional language
- Include relevant order details
- Provide contact information
- Add clear call-to-action
- Keep length appropriate for message type
3. Deliverability
- Warm up new IP addresses gradually
- Maintain consistent sending volume
- Monitor bounce rates (<2% target)
- Honor opt-out requests immediately
- Keep spam scores low
4. Compliance
- Include physical address in signature
- Honor unsubscribe requests
- Mark marketing emails appropriately
- Follow CAN-SPAM Act guidelines
- Comply with GDPR for EU recipients
5. Timing
| Email Type | Best Time | Frequency |
|---|---|---|
| Order confirmation | Immediately | Per order |
| Appointment reminder | 1 day before | Per appointment |
| Invoice | Immediately | Per invoice |
| Payment reminder | 3 days overdue | Weekly max |
| Newsletter | Tuesday-Thursday | Monthly max |
Advanced Features
Email Sequences
Automated follow-up series:
- Go to Settings → Communications → Sequences
- Create new sequence
- Add emails with timing rules
- Assign trigger conditions
- Activate sequence
Scheduled Sending
Send emails at optimal times:
- Compose email as usual
- Click Schedule instead of Send
- Select date and time
- System sends automatically
Attachments
Include files with emails:
| File Type | Max Size | Notes |
|---|---|---|
| Documents | 25MB | PDF, DOC, DOCX |
| Images | 25MB | JPG, PNG, GIF |
| Spreadsheets | 25MB | XLS, XLSX, CSV |
Conditional Content
Show different content based on recipient:
{% if orderType == 'loan-signing' %}
Please bring valid ID to your appointment.
{% elsif orderType == 'ia-certification' %}
Complete the course modules before testing.
{% endif %}
Security & Privacy
Data Protection
- All credentials encrypted at rest
- TLS encryption for transmission
- OAuth tokens stored securely
- Auto-disconnect on account removal
Compliance
- GDPR compliant for EU users
- CAN-SPAM Act compliant
- Data processing agreement available
- Privacy policy accessible
Access Control
- Only authenticated users can send
- Agency-scoped sending limits
- Audit logging for all emails
- Role-based permissions