Application Keyboard Shortcuts for Mail.app

Create quick keyboard shortcuts to move messages in Apple’s Mail.app.

I like to archive mail instead of deleting it. Gmail brought this into vogue a few years back and with their unlimited storage it’s almost silly to delete anything but a few spam messages and the most mundane emails. The problem is I also like to use Mail.app as my email client. So in order for me to archive email I’ve had to drag every message into Gmail’s All Mail folder.

It’s a surprisingly slow process and I don’t even want to think about how much time I’ve wasted doing it. It’s also prone to error. I often find messages accidentally moved to the wrong folder.

So, in an attempt to fix this, I spent a few minutes yesterday trying to figure out how to setup a few quick keyboard shortcuts. I remembered reading that 10.6 made this whole process a lot easier and figured I’d give it a shot. I’ve heard of third party applications, or hacks that could do something like this but those things aren’t for me, if it’s not simple and built into the operating system I’m just likely not going to bother. Luckily it’s dead simple, and I’ve been loving it ever since.

Here’s how to do it:

  1. Open up System Preferences > Keyboard > Keyboard Shortcuts

  2. Select Application Shortcuts in the left hand menu

  3. Click the + button and choose the application you want, which in this case is Mail

  4. Type the exact name of the folder you want to move the selected message to when you invoke the keyboard command. For archiving messages in in your Gmail account you’ll want to type All Mail.

  5. Choose the keyboard combination you like I went with command-return but it’s up to you.

It’s just that simple. You can setup these shortcuts for any other menu items and across as many different applications as you want. I’ve always liked the idea of keyboard shortcuts, but until now they’ve always been too much work to setup or learn. With this new preference pane you can choose whatever key combination want them to be and they’re incredibly simple to create. Kudos to Apple for getting this right.

October 1st, 2009

Tags

apple, howto, keyboardshortcut, mail, mail.app, productivity

Comments

01 October 21st, 2009

Trevor Gerzen

I really like this idea because I feel the same way. Gmail has ruined me…er…spoiled me(?).

In your post you say:

Type the exact name of the folder you want to move the selected message to when you invoke the keyboard command. For archiving messages in in your Gmail account you’ll want to type All Mail.”

Where do you type All Mail? I called the Keyboard Shortcut All Mail but I don’t know that that is going to do anything.

Thanks for the post

02 October 27th, 2009

Tom Watson

It should work. All you need to do is type it into the Menu Title field.

One thing I’ve noticed with this setup is that each time you launch Mail.app you have to actually select from the drop down menu Message > Move To. You only have to do it once, but it’s a bit annoying. It seems a bit like a bug to me, so hopefully Apple will fix it soon.

03 November 15th, 2009

Alexis Gallagher

This is great start, much simpler than buying Mail Act-On or writing Applescript.

However, it does not quite work. Sometimes the keyboard shortcut triggers the Copy To command instead of the Move To command.

This is not too surprising. When you examine the dropdown menus, you can see that the assigned shortcut appears next to both of those commands. Presumably this is because, when you fill out the shortcut’s Menu Title with just the folder name, then the shortcut matches both commands since they both contain the folder name.

This should work correctly if, instead, you write the full name of the command. This can usually be found by searching for commands from the Help / Search box. This suggests the name should be “Move To > [foldername]”. However, unfortunately, this doesn’t seem to work at all for me at least.

04 November 18th, 2009

Craig

Weird. It didn’t work for me, then I tried it again and it did. No clue at this point.

05 December 5th, 2009

Ben Chun

You don’t need to explicitly move the message to your All Mail folder. You just need to tell Mail.app not to move deleted messages to the trash folder.

See Google’s recommended IMAP settings here: http://mail.google.com/support/bin/answer.py?answer=78892

When I have a message highlighted and hit delete or backspace, it’s removed from my inbox but not trashed.

And I agree with you: using the keyboard preferences to set up shortcuts for filing messages in other folders is super useful!

06 May 26th, 2010

dam

thanks. It’s great.

Post a comment

Please use Markdown syntax for formatting.