Connect a Microsoft account and shared mailboxes
Connect a Microsoft account to E-Mail AI and find out which shared mailboxes are supported.
For E-Mail AI to read and reply to messages, the assistant needs access to a real email mailbox.
A distribution list, a forwarding address or a Google Group is not enough. These addresses only pass messages on to other people and have no mailbox of their own in which E-Mail AI can work.
Which accounts are supported?
| Account type | Connection with E-Mail AI |
|---|---|
| Personal Microsoft account | Possible directly |
| Microsoft 365 user mailbox | Possible directly |
| Microsoft Shared Mailbox | Possible, but requires additional configuration by an administrator |
| Personal Google account | Possible directly |
| Standalone Google Workspace mailbox | Possible directly |
| Delegated Google mailbox | Possible, must be connected by the actual account owner |
| Google Group or group address | Not possible directly |
A real mailbox is required
E-Mail AI needs an account with its own inbox and a working sign in. Plain forwarding addresses, distribution lists and group addresses cannot be connected directly.
Connect a Microsoft account
In fonio, open the E-Mail AI section and start connecting a new mailbox.
Select Microsoft as the provider and sign in with the account E-Mail AI should use.
Make sure you use exactly the account whose messages should be read and answered.
During sign in, Microsoft asks for the required permissions. Confirm them so fonio can access the mailbox and send replies.
Confirm permissions
Depending on your company's settings, you can confirm the permissions yourself or you need approval from a Microsoft 365 administrator.
If Microsoft shows the message Approval required or Administrator approval required, your administrator has to approve the connection.
Important for administrator approval
The administrator should approve the application for your company. Then start the connection again with the mailbox that should actually be connected.
If the administrator signs in directly in the connection window, their own mailbox may be connected by mistake.
Microsoft organizations can decide for themselves whether users may authorize apps directly or need administrator approval first. You can find more technical information in the documentation on Microsoft administrator approval.
Check the connection
After signing in, the account should appear as connected in E-Mail AI.
Then check:
- Is the correct email address shown?
- Are incoming messages being synchronized?
- Can E-Mail AI create a draft or a reply?
- Is the reply sent from the correct address?
- Has the administrator's mailbox been connected by mistake?
Ideally, run a test with a second email address.
Microsoft Shared Mailboxes
A Microsoft Shared Mailbox is a shared mailbox such as:
support@company.cominfo@company.comoffice@company.com
Several team members can access it and reply from the shared address.
At Microsoft, a Shared Mailbox has an associated user account. By default, however, direct sign in for this account is blocked. Microsoft normally does not intend Shared Mailboxes to be accounts you sign in to directly with their own password. Microsoft describes this default setting in the documentation on Shared Mailboxes.
To connect directly with E-Mail AI, your Microsoft 365 administrator therefore has to make additional settings.
Option 1: A dedicated user mailbox for E-Mail AI
The simplest way is a standalone Microsoft 365 user mailbox.
Example:
assistant@company.com
This account has:
- Its own inbox
- Its own sign in credentials
- A regular Microsoft sign in
- The required permissions to read and send emails
You can then connect this mailbox directly to E-Mail AI.
Recommendation
A dedicated user mailbox is usually the cleanest solution. You avoid special configurations and can clearly define which messages E-Mail AI is allowed to access.
Option 2: Connect a Microsoft Shared Mailbox directly
Technically, a Shared Mailbox can be connected like a regular account. For this, your Microsoft 365 administrator has to prepare the sign in accordingly.
Depending on your Microsoft environment, this includes:
- Checking the user account associated with the Shared Mailbox
- Enabling direct sign in for the account
- Setting its own credentials or a password
- Granting the required email permissions
- Granting administrator approval for the connection if needed
- Then connecting the Shared Mailbox with its own credentials
Nylas describes that a prepared Microsoft Shared Mailbox can be authenticated like a normal Microsoft account once its own credentials are set up. You can find the technical details in the documentation on Microsoft authentication.
Coordinate with your administrator
Microsoft generally recommends keeping direct sign in blocked for Shared Mailboxes. Clarify this setup with your Microsoft 365 administrator beforehand.
If your security policies do not allow direct sign in for Shared Mailboxes, use a dedicated user mailbox for E-Mail AI instead.
Google Shared Inboxes
Google does not have a classic Shared Mailbox like Microsoft.
At Google there are mainly two variants:
- A regular Google account that other people access through delegation
- A Google Group that distributes messages to several members
These two variants work differently on a technical level.
Standalone Google mailbox
An account such as support@company.com can be connected to E-Mail AI if it is a real Google Workspace account.
The account needs:
- Its own inbox
- Its own sign in credentials
- A regular Google sign in
If other people also need access, the mailbox can then be delegated within Google.
With a delegated Google mailbox, the actual account owner has to set up the connection. A user with delegated access cannot connect the mailbox with their own credentials. You can find more information in the documentation on delegated Google mailboxes.
Google Groups are not supported
A Google Group such as support@company.com is not a mailbox of its own.
The group receives messages and distributes them to its members. However, it has no normal inbox with its own credentials that E-Mail AI could connect to directly.
For this reason, a Google Group cannot be connected to E-Mail AI as a mailbox.
Common misunderstanding
Several people receiving messages through the same group address does not mean the address has a shared mailbox. In most cases, the emails simply land in the personal mailboxes of the group members.
Solution for an existing Google Group
If you currently use a Google Group, you have two options.
Create a dedicated Google Workspace account
Create a regular Google Workspace account with the address you want.
Example:
support@company.com
This account has its own inbox and can be connected directly to E-Mail AI.
Connect the personal account of a group member
You can also connect the Google account of a group member who receives the forwarded group messages.
E-Mail AI then works in this person's personal mailbox and not in a dedicated group mailbox. This means other messages in that account may be visible as well.
For a clear separation, we therefore recommend a dedicated Google Workspace mailbox.
Which solution fits you?
| Starting point | Recommended solution |
|---|---|
| Personal Microsoft mailbox | Connect directly |
| Regular Microsoft 365 user mailbox | Connect directly |
| Microsoft Shared Mailbox | Configure with your Microsoft administrator or create a dedicated user mailbox |
| Personal Google mailbox | Connect directly |
| Standalone Google Workspace mailbox | Connect directly |
| Delegated Google mailbox | Have the account owner connect it |
| Google Group | Create a dedicated Google Workspace mailbox |
Common errors
Microsoft requires administrator approval
Your company only allows external applications to be connected after approval.
Ask your Microsoft 365 administrator to approve the request. Then start the connection again with the mailbox you want.
The administrator's mailbox was connected
The administrator signed in directly in the connection window. As a result, their account was connected instead of the intended mailbox.
Disconnect the wrong account. Have the application approved centrally and then sign in again with the correct user.
The Microsoft Shared Mailbox cannot sign in
Direct sign in is blocked by default for Shared Mailboxes.
Check with your Microsoft 365 administrator whether the mailbox may be prepared for a direct connection. If not, use a dedicated user mailbox.
The Google group address does not appear
A Google Group has no inbox of its own and therefore cannot be connected directly.
Create a regular Google Workspace account or connect an account that receives the forwarded group messages.
A user with delegated access cannot connect the Google mailbox
The connection has to be set up by the actual account owner. The credentials of a user with delegated access are not sufficient.
If you need our help
If your mailbox cannot be connected, write to us at support@fonio.ai.
Please send us the following information right away:
- The email address of your fonio account
- The address of the mailbox you want to connect
- The provider you are using
- The type of mailbox
- A screenshot of the error message
- Whether administrator approval is required
- Whether it is a user mailbox, a Shared Mailbox or a group
This helps us identify faster which setup your mailbox needs.
