Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Copy Mail messages to Evernote via AppleScript Apps
I wrote an AppleScript to move Email Messages from Apple's Mail app into Evernote. When run, this script exports a text copy (no HTML, no attachments) of every selected email message in Mail into Evernote. When the script creates the note in Evernote, it uses the Subject line of the email as the title of the note, and it also uses the date the email was received as the Creation Date of the note.

The script also copies basic header information to the first line of the note (e.g., a working mailto: link for the message sender and also date/time information). I have added a tag dialog box which lets you tag items on the way into Evernote. If you have selected more than one email, the tag(s) you choose will be applied to all of the messages.

The script will also retrieve an alphabetized list of your current Evernote Notebooks, and allow you to select which notebook to archive your messages into. Want to make a new notebook instead? No problem; the script has a Create New Notebook button which will let you do that on the fly. Finally, automatic Growl detection has been enabled, which will save you a trip to the Script Editor to enable/disable it.

For the script source and more information, including how to make it easy to use as well as its limitations, please see its page on my site. If you post any comments here on Mac OS X Hints, I'd appreciate a cross-post to the script's page so I can iron out bugs and improve the script.

[robg adds: I've mirrored the script (with the author's permission) here on hints in case the original ever goes away.]
    •    
  • Currently 2.20 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (5 votes cast)
 
[13,125 views]  

Copy Mail messages to Evernote via AppleScript | 9 comments | Create New Account
Click here to return to the 'Copy Mail messages to Evernote via AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Copy Mail messages to Evernote via AppleScript
Authored by: syko on Apr 27, '09 07:50:17AM

Very nice!

I use evernote every day- so i have to ask, what purpose does it serve for you to copy a Mail message into evernote?



[ Reply to This | # ]
Copy Mail messages to Evernote via AppleScript
Authored by: Veritrope on Apr 27, '09 08:19:21AM

I tend to use Evernote to bring together items from different places (news feeds, web pages, email) into one notebook -- sort of a "master file" on whatever topic I am collecting information on.

Give the script a try and let me know how it works for you on the Veritrope.com script comment page!

Kind Regards,
Justin



[ Reply to This | # ]
Copy Mail messages to Evernote via AppleScript
Authored by: timcrawf on Apr 27, '09 09:56:22AM

Thanks for sharing. This should save a few keystrokes



[ Reply to This | # ]
Copy Mail messages to Evernote via AppleScript
Authored by: hypnopixel on Apr 27, '09 11:16:36AM

for the love of Alfredo Montoya, why?!



[ Reply to This | # ]
Copy Mail messages to Evernote via AppleScript
Authored by: Veritrope on Apr 27, '09 11:52:37AM
How about if we say I did it for Inigo Montoya -- and his father? ;)

But seriously...here's why:

I'm a freelance IT consultant and I've found that many of my clients are looking for a digital version of a filing cabinet -- a role that Evernote fills quite well. Often times, they are working on several projects at once. Evernote lets them file away web pages, images, RSS feeds, and even email correspondence into Project folders that are taggable and OCR-ed.

I am also leveraging FastScripts (a great script-launching solution by Red Sweater) because it allows me to make a de facto "Global Send-to-Evernote Keystroke Shortcut" for them that works the same in many programs (sort of like a DIY version of Evernote's own global 'New Note' function). From a standpoint of training and fluency, being able to set up "⌘+ E" as a standardized "Evernote Shortcut" among all of the "send to Evernote scripts" seems to be helpful to people. They get in the habit of filing things away -- and it happens pretty quickly!

Give it a whirl and let me know what you think on the script's comment page. Kind Regards, Justin

[ Reply to This | # ]

Copy Mail messages to Evernote via AppleScript
Authored by: hypnopixel on Apr 28, '09 11:20:40AM

oh! okay then. hmm... i foresee terrible trouble with change management issues. where is the authoritative copy kept? where is the linkage? why are there these watermelon seeds in my ears?



[ Reply to This | # ]
Copy Mail messages to Evernote via AppleScript
Authored by: Veritrope on Apr 28, '09 12:23:20PM
I would *love* for there to be linkage between the two so that there would be a link to an authoritative copy -- I tried to make it happen and it's clearly the preferable scenario -- but Evernote can't do that...at least, not yet (although I think there are indications that it's on the way).

Not sure if you're interested, but if you want to get into the more technical aspects of the things I tried in an attempt to create a link, let's move the conversation over to the script's page on Veritrope. Maybe you (or another Scripting Guru) could help us make that happen!

As written, the way that I think about this script (and the others for NNW, Entourage, etc.) is that it's like sticking a photocopy in a file folder. It's not giving you an "authoritative copy", but it's giving you a snapshot of something at a moment in time. For many people, this is all they need. Combine that with Evernote's ability to assemble and catalog information from many different sources inside it's web-accessible platform and I think the result more than makes up for its current limitations.

Kind Regards,

Justin

P.S. Good luck with those seeds!

[ Reply to This | # ]

Copy Mail messages to Evernote via AppleScript
Authored by: Veritrope on May 06, '09 12:24:48AM
SCRIPT UPDATED to Version 1.1 

Thanks to the Evernote Development Team, the direct linking between the Note in Evernote and the Message in Mail is now functional! Just click on the little arrow next to the message link in the "Source URL" area to be taken directly to the original message!

As before, the new script can be downloaded here.

Leave me your comments on the website and let me know how it's working for you!

Kind Regards, Justin

Interested in more AppleScripts / Accessories for Evernote? Check out my directory -- updated regularly!

[ Reply to This | # ]

Copy Mail messages to Evernote via AppleScript
Authored by: Veritrope on Jul 26, '09 01:46:35PM
This script has now been updated to Version 1.2, which streamlines the note creation process. See the script's page on Veritrope.com for more details and to download the new version!

[ Reply to This | # ]