Summary
Incoming emails from our Outlook (Microsoft 365) mailboxes are not fetched automatically by Odoo on Odoo.sh. The scheduled action “Mail: Fetchmail Service” runs every 5 minutes but processes 0 records. If I run the job manually, the same unread messages are fetched immediately and appear in Odoo as expected.
Environment
-
Odoo edition: Odoo 18 on Odoo.sh
- Email provider: Outlook / Microsoft 365 (IMAP/SMTP)
- Custom domain: (our company’s custom domain)
- Odoo system domain: (Odoo-managed domain)
-
Scheduled action: Mail: Fetchmail Service every 5 minutes
Symptoms
- Replies to RFQs (and other inbound emails) arrive in Outlook and remain unread.
- The cron “Mail: Fetchmail Service” executes on schedule but logs show 0 records processed.
- Running the same scheduled action manually fetches the unread emails into Odoo.
- No configuration errors show on the configured Incoming Mail Servers in Odoo.
Logs
When automatic cron runs:
2025-09-03 13:20:15,805 ... INFO odoo.addons.base.models.ir_cron: Job 'Mail: Fetchmail Service' (68) processed 0 records, 0 records remaining 2025-09-03 13:20:15,812 ... INFO odoo.addons.base.models.ir_cron: Job 'Mail: Fetchmail Service' (68) completed
When manual run of the same job:
- Detailed steps appear in the logs and the unread emails are fetched correctly.
What’s already checked / tried
- Cron frequency set to 5 minutes (aware Odoo won’t run more frequently).
- Incoming server config connects successfully; no UI errors.
- Mailbox state: messages are unread in Outlook at expected fetch time.
- Credentials/permissions valid (manual run succeeds).
- Server load normal; no obvious throttling.
- Odoo.sh: standard workers; nothing custom in code touching mail.