A practical field guide from Automation Ace.
The short answer
SMTP sends email. IMAP reads email. SMTP (Simple Mail Transfer Protocol) is how a message leaves your app and travels to the recipient's mail server. IMAP (Internet Message Access Protocol) is how an app connects to a mailbox to see, read, and organize the messages already there. In email automation, IMAP is usually the trigger side and SMTP is the action side.
In Zapier, that maps to two built-in apps: IMAP by Zapier watches a mailbox and starts a Zap when a new email arrives, and SMTP by Zapier sends an email through your own mail server. Together they let you automate almost any email account, not just Gmail or Outlook.
SMTP vs IMAP at a glance
| SMTP | IMAP | |
|---|---|---|
| Job | Sends email | Reads and syncs email |
| Direction | Outbound: your app → mail server → recipient | Inbound: mail server → your app |
| Common ports | 587 (STARTTLS) or 465 (SSL/TLS); 25 is mostly server-to-server | 993 (SSL/TLS); 143 is the unencrypted or STARTTLS port |
| Zapier app | SMTP by Zapier | IMAP by Zapier |
| Role in a Zap | Action: Send Email | Triggers: New Email, New Mailbox |
| Typical use | Notifications, confirmations, alerts from your own domain | Start a Zap when an email arrives in any mailbox or folder |
What is SMTP?
SMTP is the standard protocol for sending email. When any app sends a message, it connects to an SMTP server with a hostname, port, username, and password, hands over the message, and the server delivers it onward. Your email provider publishes its SMTP settings, for example smtp.yourprovider.com on port 587.
In automation, SMTP matters because it lets messages come from your real address and domain rather than a generic platform address. That improves trust and deliverability, keeps replies coming to your inbox, and means sent messages follow your domain's SPF, DKIM, and DMARC setup.
What is IMAP?
IMAP is the standard protocol for accessing a mailbox. It keeps messages on the server and lets many clients, such as your phone, laptop, and an automation platform, see the same folders and read states. An IMAP connection uses its own hostname and port, for example imap.yourprovider.com on port 993.
In automation, IMAP lets a workflow react to incoming email in any folder of any provider: a support inbox on a hosting company's mail server, an orders mailbox on a legacy system, or a shared address that has no API.
What about POP3?
POP3 is an older protocol for downloading email. It typically pulls messages to one device and does not understand folders the way IMAP does. For automation, IMAP is almost always the better choice because the automation can read new messages without taking them away from people who also use the mailbox.
How SMTP and IMAP work together in an automation
Customer sends email → your mail server
→ IMAP by Zapier: New Email (trigger, polls the mailbox)
→ Formatter / AI / Email Parser: extract what you need
→ CRM, help desk, Airtable, Slack (actions)
→ SMTP by Zapier: Send Email (reply or notification from your domain)
This pattern powers many practical workflows, from order confirmations to support auto-acknowledgements, and it works with providers that have no dedicated Zapier app. See how to automate email without Gmail or Outlook.
Polling, timing, and duplicates
- IMAP triggers poll. Zapier checks the mailbox on your plan's update interval, so there can be a delay between arrival and trigger. See polling vs instant triggers and why a Zap is slow or delayed.
- Pick the right folder. Watching a specific folder, filled by a server-side filter rule, keeps noise out and reduces tasks.
- Deduplicate. Use the Message-ID header or a stored key to avoid duplicate records when messages are moved or re-flagged.
- SMTP sends immediately when the action runs, but deliverability still depends on your domain setup and provider limits.
Security basics
- Always use encryption: SSL/TLS on 465 or 993, or STARTTLS on 587.
- Use app passwords when your provider requires them with two-factor authentication. Some providers restrict or turn off password-based IMAP and SMTP entirely; check the current policy.
- Use a dedicated mailbox for automation where possible, with only the access it needs. See the automation security checklist and API authentication for automation.
Which one do you need?
- Need to react to incoming email? Use IMAP (or a provider app like Gmail).
- Need to send email from your domain? Use SMTP (or a provider app).
- Need both? Use both in the same Zap or in linked Zaps.
- Not sure SMTP/IMAP is the right tool at all? Compare every option in SMTP vs IMAP vs Email by Zapier vs Email Parser vs Gmail/Outlook.
Ready to connect? Follow how to connect any email provider to Zapier, then set up IMAP by Zapier and SMTP by Zapier.
Frequently asked questions
What is the difference between SMTP and IMAP?
SMTP sends email from an app to a mail server and on to the recipient. IMAP lets an app access a mailbox on the server to read, sync, and organize messages that have already arrived.
Do I need SMTP or IMAP for email automation?
Use IMAP to trigger automations from incoming email and SMTP to send email from your own address. Many workflows use both: IMAP to start the Zap and SMTP to reply or notify.
What ports do SMTP and IMAP use?
SMTP commonly uses port 587 with STARTTLS or 465 with SSL/TLS. IMAP commonly uses port 993 with SSL/TLS. Your email provider publishes the exact settings.
Is IMAP better than POP3 for automation?
Yes, in most cases. IMAP keeps messages on the server and supports folders, so an automation can read new email without removing it from other people's view.
Does Zapier support SMTP and IMAP?
Yes. IMAP by Zapier provides New Email and New Mailbox triggers, and SMTP by Zapier provides a Send Email action that sends through your own mail server.
Disclaimer: Zapier features, plan availability, and settings can change. Confirm current details in Zapier's help documentation and your email provider's settings pages before relying on a specific setting. This article may include links to apps, products, or services; some links may be affiliate links, which means Automation Ace may earn a commission at no extra cost to you.