Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I use the web version of Gmail (www.gmail.com; as opposed to a offline email client). I frequently send files as attachments.

I would like to be able to right-click on a file on Finder and, with one additional click, I would have a new blank e-mail message on Gmail (on a new window of my web browser; currently Chrome), with the selected file already added as an attachment.

This post shows how to to something similar. But the new messages opens up in Apple's Mail client. How to create a 'New Email with Attachment' option in Finder?

Any ideas if what I want to do is possible?

share|improve this question

1 Answer 1

Try mutt, the command line email client that you can use with shell scripting:

This page seems like a excellent resource: https://wiki.archlinux.org/index.php/mutt

New email from command line:

mutt -s "Subject" somejoeorjane@someserver.com -a somefile < /tmp/sometext.txt

Now you just need to modify that to go to Drafts instead of send (I have not tried this). Anyway, you can make an Automator service that runs one of these shell commands at mutt, then make a keyboard shortcut for that service.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.