> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/build/email-trigger-imap.md).

# Start on new mail with Email Trigger (IMAP)

In Duaer, Email Trigger (IMAP) starts the digital organization when new mail arrives. Mailbox Name defaults to INBOX. Action defaults to Mark as Read. Format defaults to Simple. You need an imap credential.
## Listen to a mailbox

1. Create an imap credential.
2. Search for Email Trigger (IMAP), place it at the start of the canvas, and select that credential.
3. Leave Mailbox Name on INBOX, or set the mailbox you want.
4. Leave Action on Mark as Read and Format on Simple.
5. Select Execute step, then send a test message. Publish so the trigger keeps listening.

If Action is Nothing, the same message may be processed more than once.

With Format Simple you can turn on Download Attachments (off by default). Resolved stores attachments as binary. RAW returns the base64url message body.

To send mail, see [Send mail with Send Email in Duaer](/build/send-email.md).
## Questions

### Is Email Trigger (IMAP) the same as Send Email in Duaer?

No. The IMAP trigger receives mail. Send Email sends over SMTP.

## Related

- [Send mail with Send Email in Duaer](https://doc.duaer.com/build/send-email.md)
- [Receive a request with Webhook in Duaer](https://doc.duaer.com/build/webhook.md)
- [Collect a form submission in Duaer](https://doc.duaer.com/build/form-trigger.md)

