---
title: "Troubleshoot messaging accounts"
site: admin
version: 2027.1
versions: "all"
url: https://docs-new.servicely.ai/admin/2027.1/messaging/troubleshoot-messaging-accounts/
type: troubleshooting
application: system_email
last_updated: 2026-12-03
commit: 97a56b9c7df7
---


Use this page when email stops flowing in or out of Servicely. It is for administrators who manage messaging accounts and need the `administrator` role.

<Callout type="info">
  **Changed in 2027.1.** A credential failure that cannot clear by itself, such as a missing or inactive OAuth token, stops the account on its first run. Saving an account keeps its **Failure count** unless a connection field changes. No action is needed on upgrade.
</Callout>

Switch to the Administration workspace with the **Workspace** selector at the foot of the menu. The messaging accounts are under **Messaging & notifications → Accounts & channels → Messaging accounts**. Collected and sent emails are under **Messaging & notifications → Message logs → System emails**.

## Servicely does not receive emails

**Cause:** No active inbound messaging account exists, its connection fails, or the **Inbound email processing** job is inactive. The job is inactive by default.

**Fix:**

1. Open the inbound account. Its **Type** is IMAP, POP3 or Microsoft Graph API.
2. Set **Active** to Yes and select **Test Connection**. Fix any error the test returns.
3. Go to **Scripting & automation → Jobs & generators → Jobs** and open **Inbound email processing**.
4. Set **Active** to Yes and select **Save**.

**Check:** Send an email to the mailbox. Within a minute it appears in **System emails** as an inbound email.

## Outbound emails stay in the Ready status

**Cause:** No active outbound account exists, its connection fails, or the **Outbound email processing** job is inactive. The job is inactive by default.

**Fix:**

1. Open the outbound account. Its **Type** is SMTP or Microsoft Graph API.
2. Set **Active** to Yes and select **Test Connection**.
3. Set **Default** to Yes on one outbound account. Notifications that name no account use it.
4. Go to **Scripting & automation → Jobs & generators → Jobs** and open **Outbound email processing**.
5. Set **Active** to Yes and select **Save**.

**Check:** Within a minute, the email record's **Status** changes from Ready to Complete.

## Every email goes to Error with "Email sending is disabled"

**Cause:** **Send all email to** in **Email and notification settings** holds `EMAIL_DISABLED_OVERRIDE`. A new instance gets this value on install unless it is a staging or demo instance.

**Fix:** Clear the value, or enter a test address. See [Redirect all outbound email in a test environment](page:messaging/redirect-outbound-email).

**Check:** The next notification's email reaches Complete.

## The account stopped and its Failure count is high

**Cause:** The account failed repeatedly, or its credential failed outright. At the failure threshold, Servicely skips the account until someone intervenes. The threshold is the `notification.email.account.failure.threshold` property, 30 by default.

A credential failure, such as a missing, inactive or rejected token, sets the count straight to the threshold. Transport failures that can be retried do not add to the count. Servicely logs a warning at 50% and 75% of the threshold.

**Fix:**

1. Open the account. A warning panel shows when **Failure count** is above 0. Read the **Failed Messages** tab for the errors.
2. Fix the cause, for example renew the outbound API token or correct the password.
3. Select **Reset Failure Count**, or change a connection field and save. Saving without a connection change keeps the count.
4. Optional: activate the outbound notification "Mail account stopped". It is inactive by default. It emails active administrators once, when an account reaches the threshold.

**Check:** The next run succeeds and **Failure count** stays at 0.

## The SMTP test fails with "535 5.7.3 Authentication unsuccessful"

**Cause:** The Microsoft 365 mailbox does not allow authenticated SMTP.

**Fix:**

1. In the Microsoft 365 admin centre, turn on authenticated SMTP for the mailbox. See [Enable or disable SMTP AUTH in Exchange Online](https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/authenticated-client-smtp-submission).
2. Return to the messaging account and select **Test Connection** again.

**Check:** The test shows "Connection test successful".

## Test Connection warns about the move folder

**Cause:** The folder in **Move to folder** does not exist in the mailbox. On a Microsoft Graph API account, the path can also be nested too deep.

**Fix:** Create the folder in the mailbox, or correct **Move to folder**. A Microsoft Graph API account accepts a well-known name such as Archive, a display name, or one nested level such as Inbox/Processed.

**Check:** The test shows "Connection test successful". Until then, a Microsoft Graph API account leaves collected mail in the Inbox.

## IMAP tests pass but no email arrives

**Cause:** The OAuth token was issued to a user who is not the mailbox owner or has no mailbox licence. The system log shows "BAD User is authenticated but not connected" from the **Inbound email processing** job.

**Fix:**

1. Go to **System & deployment → Logs → System log records** and confirm the error.
2. Open the account's API outbound token and select **Get authorization token**.
3. Sign in to Microsoft as the licensed mailbox user, not as an administrator.

**Check:** The next run of the job collects the email and logs no error.

## Related

- [Create a messaging account](page:messaging/create-a-messaging-account)
- [Connect Microsoft 365 mail with OAuth2](page:messaging/connect-microsoft-365-oauth2)
- [Connect Microsoft 365 mail with Graph API](page:messaging/connect-microsoft-365-graph-api)
- [Scheduled jobs and job queues](page:platform/jobs-and-logs/jobs)
