IMAP/SMTP email
2 min read
Kujira can receive, classify, and reply to email from mailboxes compatible with IMAP and SMTP.
Configure IMAP and SMTP
Add an email channel and enter the connection details supplied by the mailbox administrator. Kujira validates IMAP and SMTP when you save the channel, so both must be available from the start.
| Connection | Required details |
|---|---|
| IMAP · inbound | Server, port, username, and password. The usual TLS port is 993. |
| SMTP · outbound | Server, port, username, password, and sending address. The usual secure SMTP port is 465. |

Request the mailbox details
Use an app password when appropriate
Define the sending address
Run a full test
Receiving through IMAP does not mark messages as read, move them, or delete them. The mailbox keeps its state for people who share it with the agent.
Protect the mailbox
Use an account intended for the agent's role and grant only the permissions required. Do not paste passwords into conversations or documents. If the channel is external, incoming messages also appear in Agent Desk; those from an internal mailbox do not.
Compose, reply, and supervise
The agent can reply in a thread, draft new emails, and prepare drafts according to its instructions and permissions. Define clearly what type of email it may answer autonomously and what situations must go through approval.
By default, leaving an email as a draft is the agent's own decision on each message. To make sure it never sends:
- Internal mailbox: turn on Always leave as drafts in the channel settings. Everything the agent writes stays in the mailbox's drafts folder, where a person reviews and sends it from their own email client.
- External mailbox: use Agent Desk draft mode, where drafts are reviewed inside Kujira.