Delay in Incoming Emails with Microsoft OAuth 2.0 Configuration

Hi everyone,
I have configured Microsoft OAuth 2.0 for my incoming and outgoing mail setup in Frappe. However, incoming emails are received with a delay of about 5–15 minutes. I want them to be received immediately, similar to how mail clients work. How can I fix this delay?

This is called every 10 minutes

1 Like

Thanks ,
what will i do ? should i change this? could you please clarify .

Changing it in frappe framework means you need to send a PR.

If you have custom app, use Hooks and call it more frequently. Note that it will also be called every 10 min by frappe.

1 Like

thank you

hi
My production site is hosted on Frappe Cloud. Since I don’t have backend access and can only use the frontend (UI), is there any other method to fix this issue without creating a custom app?


try “Server Script” if it is enabled.