Integrations Overview
EmailEngine provides flexible integration options for connecting email functionality with your applications, CRM systems, automation platforms, and AI services. This section covers common integration patterns and best practices.
Integration Patterns
Direct API Integration
Build custom integrations using EmailEngine's REST API:
- Account Management: Register and manage email accounts programmatically
- Message Operations: Send, receive, search, and manage emails
- Real-time Events: Receive webhooks for email events
- Webhook Processing: Process incoming email notifications
Learn more in the API Reference section.
Webhook-Driven Architecture
EmailEngine sends webhooks for various events:
- New incoming emails
- Sent email notifications
- Account status changes
- Bounce notifications
- Message updates
This enables event-driven architectures where your application responds to email events in real-time.
SDK Integration
There is one published SDK, for PHP: postalsys/emailengine-php.
Everywhere else, the API is plain HTTP and JSON, so an HTTP client is enough. For a typed client, generate one from the OpenAPI specification that every EmailEngine instance publishes.
AI Agents Over MCP
Let an AI client call EmailEngine directly instead of writing an integration for each one. EmailEngine serves the Model Context Protocol at /mcp, so Claude Code, Cursor, claude.ai connectors and agent frameworks can search, read, organize and send mail through a curated tool set, authenticated with a narrowed access token.
Read more: MCP Overview
Low-Code Platforms
Connect EmailEngine with no-code and low-code automation tools:
- Zapier
- Make.com (Integromat)
- n8n
- Webhook routing with custom transformations
Common Use Cases
CRM Integration
Integrate email functionality directly into CRM systems:
- Bidirectional email sync
- Contact activity tracking
- Send emails as CRM users
- Track email conversations
Read more: CRM Integration Guide
AI and Email Processing
Enhance email workflows with artificial intelligence:
- Automatic email summarization
- Sentiment analysis
- Event and action extraction
- Smart email routing
- Conversational search
Read more: AI and ChatGPT Integration
For the other direction - an AI agent calling EmailEngine rather than EmailEngine calling a model - see MCP for AI Agents.
Marketing Automation
Build email marketing and automation features:
- Transactional email sending
- Campaign tracking
- Bounce handling
- List management
- Delivery testing
Support Systems
Integrate with customer support platforms:
- Shared inbox management
- Ticket creation from emails
- Response tracking
- Team collaboration
Business Applications
Embed email functionality in business apps:
- Document management systems
- Project management tools
- Collaboration platforms
- Custom business workflows
Architecture Considerations
Scalability
Vertical Scaling (Recommended): Increase CPU, RAM, and optimize worker threads, webhook processing, and Redis configuration.
Manual Sharding (Advanced): For very large deployments exceeding single-instance capacity, manually distribute accounts across separate EmailEngine instances, each with its own Redis database.
Read more: Performance Tuning
Security
- API Token Management: Use separate tokens for different applications
- Secret Encryption: Enable encryption for stored credentials
- Network Security: Use HTTPS and secure network configurations
- Access Control: Implement proper authentication and authorization
Read more: Security Best Practices
Reliability
- Webhook Retries: EmailEngine retries a delivery that does not get a 2xx response, so make the receiver idempotent rather than assuming each event arrives once
- Queue Management: Acknowledge a webhook immediately and process it asynchronously
- Error Handling: Handle API errors and timeouts; the error reference lists what to expect
- Monitoring: Track system health and performance metrics
Read more: Monitoring
Data Management
- Message Storage: Messages are stored on the IMAP server
- Attachment Handling: Consider storage requirements for attachments
- Data Retention: Implement appropriate retention policies
- Privacy Compliance: Ensure GDPR and privacy regulation compliance
Getting Started
Choose your integration path:
- PHP Developers: Start with PHP Integration Guide
- CRM Builders: Follow the CRM Integration Guide
- AI Enthusiasts: Explore AI and ChatGPT Integration
- No-Code Users: Check out Low-Code Integrations
See Also
- API Reference - Authentication, conventions, and error handling
- Webhooks overview - The event side of every integration here
- MCP for AI agents - Letting an agent call EmailEngine without an integration of its own
- GitHub issues - Bug reports and feature requests
- Support - Support channels and what a subscription covers