Apple mail enable account shortcut

Hi

I use apple mail, hooked up to two accounts on my work computer. I want to be able to enable/disable my gmail account, and it works with Preferences - Accounts - click “enable this account”
I would like to get a keyboard shortcut for this one , but I was not able to get Keyboard Maestro to do this action. I have bettertouchtool and keyboard maestro installed.

Thanks
Gisle

What was the issue with using Keyboard Maestro? It should be able to reproduce any manual interaction you do yourself.

When recording, moving the mouse is listed as coordinates , I haven’t found this settings in the menu

There is a click on image action if you can’t navigate purely by keys.