MacOS – New email message with a global keyboard shortcut

emailgmailkeyboardmacosmail.app

I got, for the first time in my life, a Mac this Christmas and I was wondering if it is possible to create system-wide keyboard shortcut.

No matter what app I is using, is there a way to configure a combination of keys so that the new email screen in Mail.app opens? Or, to have the Compose message screen from Gmail?

I understand that I can use command + N in Mail.app, and C in Gmail web interface, but I would like a global shortcut.

Best Answer

One option is to assign a keyboard shortcut to a script like this:

tell application "Mail"
    make new outgoing message with properties {visible:true}
    activate
end tell

Another option is to create a service like this with Automator:

You can give the service a keyboard shortcut from the Keyboard preference pane.