Apple Mail to Evernote 3

From Software Wiki
Jump to navigation Jump to search

Apple Mail to Evernote 3 version 3.10

Released May 22, 2020
Adapted by Robert P. Allred, PhD

Release Announcement

This AppleScript allows you to easily move one or more email messages, including mail attachments to an Evernote notebook. A simple pop-up dialog window will let you tag the message for easier filing. It has support for MailTags and as written is designed to be triggered by an inbox rule or a Mail Act-On keystroke.


Terms of Use

Apple Mail to Evernote 3 by Robert P. Allred, PhD is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. Derived from a work by Justin Lancy at https://veritrope.com/code/apple-mail-to-evernote/.

To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/4.0/.

Previous Licence

This work was previously licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.

Important Links

Previous Project Page: http://veritrope.com/code/apple-mail-to-evernote

Current Project Page: https://doctorallred.com/software/index.php?title=Apple_Mail_to_Evernote_3

System Requirements

Version 3 has been tested with macOS Mojave (macOS 10.14), Evernote 7.13, and MailSuite 1.0.8.

Installation

  • You can save this script to ~/Library/Application Scripts/com.apple.mail and launch it using an Inbox rule or using Mail Act-On
  • If you want to use the MailTags features, then you must have the current version of SmallCubed's MailSuite installed.
  • There are "User Switches" in the script that allow you to customize the way this script works
property tagging_Switch : "ON"
Set this to "OFF" if you want to skip the tagging/notebook dialog and send items directly into your default notebook
property EVnotebook : ""
If you've disabled the tagging/notebook dialog, type the name of the notebook you want to send the item to between the quotes if it isn't your default notebook (empty sends to the default notebook).
property defaultTag : "Email Message"
If tagging is on and you'd like to change the default tag, type it between the quotes ("Email Message" is default).
property HTML_Switch : "ON"
Set this to "OFF" if you want to process emails as plaintext (useful for non-english encoded emails).
property MT_Switch : "ON"
Set this to "OFF" if you do NOT want MailTags copied into your Evernote note. It must also be set to "OFF" if you do not have MailSuite installed.

Current Version

Version 3.10 (May 22, 2020)

Download here as Zip archive

Change requests

  • Support for both Growl and macOS notifications.
  • Fix problems with table widths in note header.

Previous versions

Apple Mail to Evernote 3 (version 3.01)

Apple Mail to Evernote 3 (version 3.00)

Apple Mail to Evernote (version 2.07)

Full Change Log

  • 3.01 (May 13, 2020): Fixed typos. Added notification subroutines (based on previous Growl subroutines). Completed conversion of note template to CSS.
  • 3.00 (May 11, 2020): Converted to a Mail.app rule script. Removed all references to Growl. Escaped double quotes in HTML template. Updated some HTML elements to use CSS.
  • Forked May 10, 2020 by Robert P. Allred, PhD; updated to CC BY-NC 4.0 license.
    • 2.07: CHANGE TO UTF DECODING (THANKS EDUARDO!). CC RECIPIENTS ADDED TO NOTEHEADER
    • 2.06: SWITCH FOR PLAINTEXT OPERATION (FOR NON-ENGLISH ENCODING), FIX FOR MISSING RECIPIENT NAME
    • 2.05: FIX FOR LEADING SPACES IN TAG LIST
    • 2.04: CHANGE TO DISPLAY MULTIPLE TO: RECIPIENTS, GROWL TWEAKS
    • 2.03: FIXES AND ADJUSTMENTS FOR TAGS, ATTACHMENT OPERATIONS
    • 2.02: CHANGED SOME VARIABLES TO WORK BETTER WITH "OPEN IN SCRIPT EDITOR" BUTTON
    • 2.01: CONSOLIDATED SOME BASE64 CODE INTO A HANDLER, FIXED BUGS WITH ENCODING
    • 2.00: FINAL ELIMINATED MAILTAGS SUPPORT, GROWL REQUIREMENT, REWORKED HTML EMAIL TRANSFER FOR 10.7+ SYSTEMS
    • 2.00 b2: BUG FIXES (USER SWITCH FOR NOTEBOOK, BETTER BASE 64 DETECTION, ATTACHMENT FIX)
    • 2.00 b1: HTML MESSAGES, APPEND ATTACHMENTS, MAILTAGS, QUIET TEMP FILE REMOVAL
    • 1.30 (June 5, 2010): ATTACHMENT CREATION. LAYING TRACK FOR HTML NOTES.
    • 1.20 (July 25, 2009): STREAMLINED MENU FOR NOTE EXPORT
    • 1.10 (May 6, 2009): ACTIVATED MESSAGE LINKING/ADDED EVERNOTE ICON TO DIALOG BOX/MISC. CLEAN-UP!
    • 1.01 (April 23, 2009): FIXED TYPOGRAPHICAL ERROR
    • 1.00 (April 20, 2009): INITIAL RELEASE OF SCRIPT