How quickly email synchronizes
MailDesk checks your mailboxes on a schedule. With push notifications (Gmail and Microsoft 365), new mail usually arrives within seconds. This page tells you what to expect for each provider and who needs to set up what.
Who this is for: everyone who wants to know why new mail sometimes takes a moment. The setup sections are for MailDesk administrators.
You need: nothing to read this page. To enable push you need MailDesk Pro, administrator access, and for Gmail and Microsoft 365 a public HTTPS address for your Odoo server. See Plans and included features.
What to expect
| Provider | Without push | With push (Pro) |
|---|---|---|
| Gmail / Google Workspace | New mail appears after the next scheduled sync, about every 2 minutes. | New mail usually appears within seconds. |
| Microsoft 365 / Outlook | New mail appears after the next scheduled sync, about every 3 minutes. | New mail usually appears within seconds. |
| Other IMAP providers | New mail appears after the next scheduled sync, about every 3 minutes. | Push is not available for IMAP. MailDesk Pro still prepares message bodies in advance, so a message opens quickly. |
These times are the default schedule. Busy servers, provider limits and large mailboxes can make them longer. Push is fast but not instant: the provider has to notify your server, and MailDesk then runs a short sync.
The open MailDesk screen refreshes by itself when a sync finishes. You do not need to reload.
Push never replaces normal sync
A push message does not contain the email. It only tells MailDesk that a mailbox changed. MailDesk then fetches the change in the usual way. If push fails or is not set up, the scheduled sync keeps delivering mail.
Who needs to set up what
| Provider | What an administrator does | Page |
|---|---|---|
| Gmail | Make your Odoo address public HTTPS. Run the Configure Gmail Realtime assistant on the mailbox. One assistant per Gmail mailbox. | Set up HTTPS, then Enable faster Gmail synchronization |
| Microsoft 365 | Make your Odoo address public HTTPS. Register the push subscription for the mailbox. | Set up HTTPS, then Enable faster Microsoft 365 synchronization |
| IMAP | Nothing. MailDesk Pro detects the server type by itself. | IMAP server profiles (A-D) (advanced) |
| Message preparation | Nothing. It is on by default. | How email previews are stored (advanced) |
| Everyday users | Nothing. Users only see fresher mail. |
Start with Set up HTTPS for faster synchronization. Gmail and Microsoft 365 push both need it.
How it works
Scheduled sync
MailDesk runs background jobs that ask each provider for changes. These jobs exist in MailDesk Basic and Pro.
| Job | Default interval | Purpose |
|---|---|---|
| Gmail incremental sync | 2 minutes | Fetch changes since the last sync |
| IMAP inbox sync | 3 minutes | Fetch new messages and flag changes |
| Outlook delta sync | 3 minutes | Fetch changes since the last sync |
| Outlook sparse-metadata repair | 15 minutes | Fill in messages that arrived with little data |
| Bootstrap pending folders | 4 minutes | First-time fill of new folders |
| Progressive backfill | 4 minutes | Load older history in the background |
Do not switch these jobs off. They are the safety net for push.
Push
- Gmail uses Google Cloud Pub/Sub and a Gmail watch. Google sends each notification to a webhook on your Odoo server.
- Microsoft 365 uses a Microsoft Graph change-notification subscription. Microsoft sends notifications to a webhook on your Odoo server.
A renewal job runs about once an hour. It renews a Gmail watch or Microsoft 365 subscription when less than 24 hours remain. If a subscription receives no notification for 6 hours, MailDesk requests a catch-up sync.
IMAP
IMAP has no reliable way to tell MailDesk about new mail. MailDesk Pro reads the capabilities of each IMAP server, chooses a sync method that fits, and keeps polling on the schedule above.
Check that it works
- Send yourself a test email.
- Watch the mailbox in MailDesk.
What you should see: with push, the message appears within seconds. Without push, it appears after the next scheduled sync.
Administrators can see the MailDesk jobs under Settings ▸ Technical ▸ Scheduled Actions.
If it does not work
If new mail takes minutes although you set up push, or mail seems to be missing, go to Fix missing or delayed emails.