r/applescript • • Jan 22 '20

Enable/Disable Mail Account via Applescript?

I’m trying to find a solution to switch an email account on and off via Applescript.

I’m using the same Macbook/Mail.app for work and personal stuff and would love to automate some sort of fixed schedule to disable my work mail account after work hours and on the weekend.

Any solutions, tips, recommendations are welcome, thanks!

4 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Feb 29 '20

[removed] — view removed comment

1

u/[deleted] Mar 01 '20

Thanks for responding. I did wonder if it was because of the more locked down nature of the later OS. Ho hum.