# Email (IMAP) integration

> Read, search, organize, and send email in any mailbox that offers IMAP and SMTP, such as a custom domain, a web host, GMX, or Fastmail.

- Authentication: apiKey

## Tools (7)

- **Download Attachment**: Download one attachment of a message as its raw file bytes.
- **List Folders**: List the mailbox's folders with their message and unread counts.
- **Move Messages**: Move messages to another folder, including to Trash to delete them or Archive to archive them.
- **Read Message**: Read one message's headers, text and HTML bodies, and its list of attachments.
- **Search Messages**: Search or list messages in a folder, newest first, by sender, recipient, subject, text, date, or read and flagged state.
- **Send Email**: Send an email from the connected address, with optional CC, BCC, HTML, attachments, and reply threading.
- **Set Flags**: Mark messages read or unread, and flagged or unflagged.

## Triggers (1)

- **New Email (IMAP)**: Triggers when a new email arrives in a watched folder, optionally from a sender or with a subject

Connect Email (IMAP) in General Input: https://www.generalinput.com/apps/imap