# Email Accounts/Connections

OpenClaw can use separate email connections for IMAP retrieval and SMTP delivery. Account passwords and app passwords remain in protected credentials and are not documented here.

## Relationships

- IMAP is used for controlled inbox retrieval and document or workflow triage.
- SMTP is used only for explicitly approved outbound delivery.
- AgentMail is a separate API-based agent inbox service, not the same as a personal IMAP/SMTP mailbox.
- Gmail and mail.com connections are separate accounts with separate protected credentials and host allowlists.
- Email skills and automations call the connection layer; BookStack records the safe configuration model, not message secrets.

## Safe configuration references

Documented settings include provider hostname, protocol, port, enabled state and workflow ownership. Credentials, tokens, mailbox contents and message bodies are excluded.