For the assistant to read mail and write drafts, it needs access to the mailbox. draften knows three ways:
| Way | For | Where it is set | Guide |
|---|---|---|---|
| connected account of the mailbox through the organisation client | Microsoft 365, Google Workspace | a client in Organisation → Sign-in and mail access → the Account sign-in and mailbox connections card, then Connect Outlook / Connect Gmail at the mailbox | Microsoft 365, Google Workspace — organisation client |
| organisation registration — on top of the client, access without signing in | Microsoft 365, Google Workspace | Organisation → Sign-in and mail access → the Registrations for shared mailboxes and central management card | Microsoft 365, Google Workspace — organisation registration |
| IMAP login | other mailboxes | the mailbox's page, the Mail access card | below |
For most organisations the organisation client is enough: members sign in with a Microsoft or Google account and each connects their own mailbox. Add the organisation registration on top once the assistant is to serve shared mailboxes, or when an administrator sets up access for the whole organisation.
For Microsoft 365 and Google alike, both the client and the registration need an app that the organisation registers with Microsoft or in Google Cloud. The client also serves members signing in; the registration has nothing to do with signing in. Which one to choose is shown by the table at the start of the pages Microsoft 365 and Google Workspace. How a mailbox is added to draften and how its access is set up is shown in the guide Adding and connecting a mailbox.
Connecting with the mailbox account
On the mailbox's page, at the top of the Mail access card, is Connect with the mailbox account: with a Connect Outlook or Connect Gmail button. The mailbox owner signs in with that account and allows reading and writing drafts only in that mailbox. The button works once the organisation owner adds the client in the Account sign-in and mailbox connections card; until then the card says that connecting the mailbox with an account will work once that is done.
Registrations for the whole organisation
The Registrations for shared mailboxes and central management card in Organisation → Sign-in and mail access holds the app registrations: an Entra registration with application permissions, or a Google service account. The organisation's owner and managers manage them. Each registration shows which mailboxes use it, and for Microsoft 365 also when its secret expires. A registration that some mailbox uses cannot be deleted — give that mailbox another access first.
A registration connects nothing by itself. The organisation owner assigns it to each mailbox on its page: Mail access → Organisation registration → Apply, and runs Test the connection. With Mailbox automatically on, a new mailbox is bound by itself when exactly one registration is active for its mail system.
IMAP login
For a mailbox that is in neither Microsoft 365 nor Google Workspace, choose the mail system Other mailbox (IMAP) when adding it. Then, on the mailbox's page, fill in Server, Port (default 993), TLS from the start (port 993), Login name and Password in the Mail access card and click Save the login. The password is stored encrypted.
The server must allow password sign-in, have the Sent and Drafts folders — marked, or with the usual names — and allow custom flags on messages (IMAP keywords), which draften uses. Services such as personal Gmail or iCloud want an app password instead of the account's password. Then Test the connection. What applies to each provider (Seznam, Kerio Connect…) and what is not possible is described on the page Supported providers and their limits.