Troubleshoot messaging accounts
Find out why Servicely does not receive or send email, and fix the messaging account, job or token behind it.
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.
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:
- Open the inbound account. Its Type is IMAP, POP3 or Microsoft Graph API.
- Set Active to Yes and select Test Connection. Fix any error the test returns.
- Go to Scripting & automation → Jobs & generators → Jobs and open Inbound email processing.
- 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:
- Open the outbound account. Its Type is SMTP or Microsoft Graph API.
- Set Active to Yes and select Test Connection.
- Set Default to Yes on one outbound account. Notifications that name no account use it.
- Go to Scripting & automation → Jobs & generators → Jobs and open Outbound email processing.
- 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.
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:
- Open the account. A warning panel shows when Failure count is above 0. Read the Failed Messages tab for the errors.
- Fix the cause, for example renew the outbound API token or correct the password.
- Select Reset Failure Count, or change a connection field and save. Saving without a connection change keeps the count.
- 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:
- In the Microsoft 365 admin centre, turn on authenticated SMTP for the mailbox. See Enable or disable SMTP AUTH in Exchange Online.
- 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:
- Go to System & deployment → Logs → System log records and confirm the error.
- Open the account’s API outbound token and select Get authorization token.
- 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.