Email Service Options
- DocsAutomator Mail (Default)
- Gmail Integration
- Outlook Integration
- Sender: DocsAutomator
<noreply@docsautomator.com> - Benefits: High deliverability, no setup required, reliable infrastructure
- Best for: Business communications and automated notifications
- Setup: Enabled by default with no additional configuration
Connecting Gmail or Outlook
You can connect multiple accounts and pick which one each automation uses. Connect or disconnect accounts anytime under Workspace Settings → Integrations.
Sending from the Team Member Who Generates the Document
By default, every email an automation sends comes from the one account configured in its email settings. For teams, you can instead send each email from the person who generated the document: with Gmail or Outlook selected as the email service, enable Send from the team member who generates the document below the account selector. When enabled:- DocsAutomator matches the generating member’s login email against the Gmail and Outlook accounts connected to the workspace
- If a matching account is found, the email is sent from that member’s account
- If there is no match, or the document was generated by an automated trigger (auto-creation, webhooks, polling), the email falls back to the account configured in the automation
Each team member who should send from their own mailbox needs their Gmail or Outlook account connected to the workspace under Workspace Settings → Integrations.
Generating via API
The in-app Generate button identifies the generating member automatically. API calls can name the member with theactingUserEmail parameter, passed in the request body, as a query parameter, or as an X-Acting-User-Email header. For example, for a Google Sheets automation:
&actingUserEmail=member@yourcompany.com to the generation URL. See the API reference for details.
Email Configuration
Recipients
- Static emails entered directly
- Dynamic emails using placeholders like
{{email}}or{{contact_email}} - Multiple recipients separated by commas
Subject Line
- Static text entered directly
- Dynamic content using placeholders
- Example:
Invoice #{{invoice_number}} for {{client_name}}
Email Content
- Rich text editor for formatting
- Dynamic placeholders throughout email body
- Access to document data dynamically
PDF Attachments
- Included by default
- Optional: Deselect “Attach Generated PDF to Email” to send notification emails with download links instead
Reply-To Address
- Optional address that replies are routed to, instead of the default sender
- Works with DocsAutomator Mail, Gmail, and Outlook
- Leave blank to keep the default reply behavior
Email Personalization
All placeholders from your document template are available in your email subject line and body. This means you can personalize every email with data from your data source.Using Placeholders in Emails
Any placeholder mapped in your automation can be used in:- Recipient field:
{{client_email}}or{{contact_email}} - Subject line:
Invoice #{{invoice_number}} for {{client_name}} - Email body:
Hi {{first_name}}, please find your document attached.
Using Data That Shouldn’t Appear in the Document
Sometimes you need data for email personalization that shouldn’t be visible in the generated document. For example, you may want to route emails to different recipients or personalize the greeting, but that information isn’t part of the document itself. Use the Always hide option to pass data through your automation without rendering it in the document:Add the placeholder to your template
Add the placeholder (e.g.
{{recipient_email}} or {{first_name}}) anywhere in your Google Doc template. The end of the document works well.Enable Always Hide
In your automation’s placeholder settings, click the gear icon next to the placeholder and toggle on “Always hide”.
Conditional Email Sending
Send emails only when specific conditions are met based on document data.Setting Up Conditions
Available Conditions
| Condition | Description |
|---|---|
| equals | Exact match |
| does not equal | Not equal to value |
| contains | Contains substring |
| does not contain | Does not contain substring |
Test Email Feature
Troubleshooting
Gmail or Outlook Issues
Gmail or Outlook Issues
- “Account inactive”: Reconnect the account under workspace settings > integrations (it can go inactive if access was revoked on the provider’s side)
- “No account selected”: Choose a connected account in email service settings
- Authentication errors: Re-authorize the connection in workspace settings > integrations
Delivery Issues
Delivery Issues
- Check spam folders and verify recipient addresses
- Contact support for DocsAutomator Mail delivery investigation
- Personal Gmail accounts have daily sending limits
Common Errors
Common Errors
- Invalid email format: Ensure placeholder values contain valid email addresses
- Missing placeholders: Verify all placeholders exist in your document template
- Condition errors: Check that condition placeholders have values in your data