Is it possible to schedule turn on/off setting using MDM.
I just want emails of some specific account in specific duration of time i.e 8:00 am to 1:00 PM
Thanx in advance.
You can install/uninstall a profile using MDM. This profile could be Email or Exchange account.
So, generally speaking, your server can have a job which will install/uninstall such profile. However, ti will be a little bit more than turning it on/off. It will completelly remove an account (including removing all emails on a device).
If your server "knows" account passwords, you can push update to a profile which with correct or incorrect password, which will allow/prevent user from receiving/sending emails.
Update1
BTW. If you are hosting email or exchange server, you can terminate connection to it and allow/deny access to it based on current time.