Email Integration
Trigger form filling workflows by email - forward documents, receive filled forms, and automate via email
Overview
Email Integration enables email-triggered form filling workflows where you can forward documents to a unique Instafill.ai email address, automatically triggering form filling with attachments as source data, and receiving filled PDFs back via email. This bridges email-based workflows with Instafill.ai's automation, making it possible to fill forms without logging into the platform - simply forward an email, and minutes later receive the completed form.
This is particularly useful for mobile workflows (forward resume from iPhone to fill job application), integrating with email-heavy industries (legal, real estate), automating form-based processes triggered by incoming emails, or providing a simple interface for non-technical users who prefer email over web platforms.
Key Capabilities
- Unique Email Addresses: Each workspace gets unique inbound email address
- Email-Triggered Sessions: Forward email with attachments → Auto-create form filling session
- Attachment Processing: AI extracts data from email attachments (PDFs, Word, images)
- Email Body Parsing: Extract data from email text itself
- Template Selection: Specify form template via subject line or email body
- Automated Reply: Receive filled PDF via email reply
- Workflow Integration: Trigger multi-step workflows from email
- CC/BCC Support: Include team members in email workflow
- Email Notifications: Receive alerts when forms completed, errors occur
- SMTP/IMAP Support: Integrate with corporate email systems
How It Works
Setup:
- Navigate to Settings → Email Integration
- System generates unique email address:
[email protected] - Optional: Set up email alias forwarding (e.g.,
[email protected]→[email protected])
Email-Triggered Form Fill:
- Compose email with source documents as attachments
- Subject line:
Fill: W-9 Form(specifies form template) - Attachments: Client information document (PDF or Word)
- Send to:
[email protected]
Processing:
- System receives email, creates form filling session
- Extracts data from attachments
- Fills specified form template (W-9)
- Validates and generates PDF
Email Reply:
- System replies to your email
- Subject:
Completed: W-9 Form - Attachment: Filled W-9 PDF
- Body: Summary of filled fields, confidence scores
- Total time: 2-5 minutes from send to receive
Alternative - Webhook Notification:
- Instead of email reply, trigger webhook
- Webhook sends filled PDF to document management system
- Original sender receives notification email only
Use Cases
Email integration works best for mobile professionals and high-volume intake workflows. Real estate agents and field workers can forward documents from their phones and receive completed PDFs back within minutes, while law firms and HR departments route incoming client or new-hire emails through an alias so forms are auto-filled before a staff member ever needs to review them—reducing 15-minute manual processes to 2-minute approvals.
Real-World Example: Employment law firms have implemented email-based intake automation where discrimination complaint forms are automatically filled when clients forward intake documents via email.
Benefits
- Mobile-Friendly: Fill forms from any email-enabled device
- Zero-Login Workflow: No need to access platform directly
- Email-Native Integration: Works with existing email workflows
- Asynchronous Processing: Forward and forget - receive results later
- Team Collaboration: CC team members in email for visibility
- Audit Trail: Complete email thread documents form filling process
- Simple for Non-Technical Users: Email is familiar, no platform training needed
Security & Privacy
Email integration security features:
Inbound Email Security:
- Unique email addresses with entropy (not guessable)
- SPF/DKIM verification: Only accept from verified senders
- Authorized sender list: Restrict to approved email addresses (optional)
- Attachment virus scanning
- Size limits: 25 MB total attachments per email
Data Handling:
- Emails processed immediately, not stored long-term
- Attachments extracted, then deleted after processing (24-hour retention)
- Source data follows standard Instafill.ai encryption and retention policies
Outbound Email Security:
- Sent via secure SMTP with TLS
- Reply-to address matches sender (no third-party exposure)
- Attachments encrypted (password-protected PDFs available)
- Email body contains summary only, not sensitive data (optional)
Access Control:
- Email integration enabled/disabled per workspace
- Only workspace admins can configure email settings
- All email-triggered sessions and source data scoped to
workspaceIdand protected via the shared JWT authentication middleware running in both the .NET and Python service layers - Audit log tracks all email-triggered sessions
Privacy Compliance:
- HIPAA: Email integration can be HIPAA-compliant (with BAA and encryption)
- GDPR: Follows GDPR data processing requirements
- Opt-out: Users can disable email notifications
Common Questions
Can I use my own email domain instead of @instafill.ai?
Yes, via email forwarding:
Setup:
- Create email address on your domain:
[email protected] - Configure forwarding rule:
[email protected]→[email protected] - Users send to familiar domain, system receives and processes
Benefits:
- Professional appearance (company domain, not third-party)
- Easy to remember for team
- Centralized email routing control
Reply Behavior:
- Replies come from
[email protected](not your domain) - Optional: Configure reply-to header with your support email
Example:
- Law firm:
[email protected]→ Forms forwarded to Instafill.ai, processed, replies sent
DNS Configuration: No special DNS records required - simple forward rule in email system.
What if multiple form templates match my email subject?
Template selection logic:
Explicit Selection (Recommended):
- Subject:
Fill: Form Template Name - Example:
Fill: I-9 Employment Verification - System matches exact template name
Fuzzy Matching:
- Subject:
Fill: Employment Form - System finds closest match: "I-9 Employment Verification"
- If multiple matches, uses most recent/popular
Auto-Detection:
- No template specified in subject
- System analyzes attachments, infers form type
- Example: Attachment is W-2 → System selects W-2 template
- Confidence shown in reply email
Multiple Forms:
- Subject:
Fill: I-9, W-4, Direct Deposit - Comma-separated list → System fills all specified forms
- Reply includes all filled PDFs
Ambiguity Handling:
- If template unclear, system replies with:
- "Multiple templates match. Please specify:"
- List of matching templates
- Instructions to reply with choice
Best Practice: Use exact template names in subject line for predictability.
Can I configure automatic workflows triggered by email?
Yes! Advanced workflow automation:
Webhook Chains:
- Email received → Form filled
- Filled form triggers webhook
- Webhook sends PDF to document management system
- DMS triggers next workflow step (approval, signature collection)
Conditional Workflows:
- If form total > $1,000 → Send to accounting system
- If form type = "New Hire" → Send to HR system + payroll system
- If form field "urgent" = true → Send Slack notification to manager
Multi-Step Forms:
- Email triggers first form
- On completion, system emails requester asking for additional info
- Reply triggers second form
- Chain continues until workflow complete
Example - Expense Reimbursement:
- Employee emails receipts to
[email protected] - System fills expense report
- Webhook sends to approval system
- Manager approves
- Webhook sends to accounting system
- Accounting processes payment
- Employee receives confirmation email
Configuration: Set up workflows in Settings → Email Automation → Workflow Rules
Use Case: Complex multi-department processes fully automated via email triggers.
How do I prevent unauthorized use of my email address?
Authorized sender controls:
Allowlist (Recommended):
- Settings → Email Integration → Authorized Senders
- Add email addresses or domains:
@yourcompany.com,[email protected] - Only listed senders can trigger form filling
- Others receive bounce: "Unauthorized sender"
Domain Verification:
- Verify your email domain via DNS record
- Only verified domain members can use integration
- Prevents email spoofing
SPF/DKIM Enforcement:
- Reject emails failing SPF or DKIM checks
- Prevents spoofed sender addresses
- Enabled by default
Rate Limiting:
- Max 100 emails per sender per day
- Prevents abuse from compromised accounts
- Configurable per workspace
IP Allowlisting (Enterprise):
- Accept emails only from corporate IP ranges
- Enterprise-grade security for regulated industries
Notification:
- Receive alert when unauthorized sender attempts to use integration
- Review attempts in audit log
Example Configuration:
Authorized Senders:
- @acmecorp.com (all company employees)
- [email protected] (specific external partner)
- [email protected]
Unauthorized attempts: 3 this month (logged)
Best Practice: Start restrictive (specific addresses), gradually expand as needed.
What's the maximum email/attachment size?
Size limits:
Total Email Size:
- Free/Starter: 10 MB total (email + attachments)
- Professional: 25 MB total
- Enterprise: 50 MB total
Individual Attachment:
- Max 10 MB per attachment
- No limit on number of attachments (within total email size)
Typical Sizes:
- Resume (PDF): 100-500 KB
- Scanned form (PDF): 1-3 MB
- Photo of document (JPG): 2-5 MB
- Most workflows: Well under 10 MB
Exceeding Limits:
- Email rejected with bounce message
- "Attachment too large. Maximum: 25 MB. Your email: 32 MB."
- Instructions to reduce size or use platform upload
Compression Options:
- Compress PDFs before sending (online tools, Preview, Adobe)
- Reduce image resolution (300 DPI sufficient for OCR)
- Split large batches across multiple emails
Alternative for Large Files:
- Use platform upload (supports up to 200 MB)
- Share via cloud storage link (Google Drive, Dropbox) in email body
- System can fetch from shared links (Enterprise feature)
Best Practice: Keep attachments under 10 MB for fastest processing (typically <30 seconds).