Create a Send to Mail Recipient in Mac OS X using Automator Workflow

automator

Windows Explorer - Send to Mail Recipient

Windows Explorer - Send to Mail Recipient

Are you a Windows-convert and miss the ability to right-click on a file and choose “Send to Mail Recipient”? Look no further, Automator is here. I can’t recall just how often I made use of Windows Explorer’s context menu selection “Send Mail to Recipient”, but know that it was enough to leave me wanting after switching to Mac OS X.

This article applies to OS X 10.4 (Tiger) and OS X 10.5 (Leopard), not OS X 10.6 (Snow Leopard)

Here’s how you can use an Automator workflow to create this same functionality in OS X Finder’s context menu.

  1. First, open Automator and choose to create a Custom workflow. <div id="attachment_392" style="width: 160px" class="wp-caption alignnone"> New Automator Custom Workflow

    New Automator Custom Workflow

    </div></li> 
    
    • Second, under the “Files and Folders” actions library, drag and drop Finder’s “Get Selected Items” to the righthand pane to begin building your workflow.
      Action - Finder Get Selected=

      Action - Finder Get Selected Items

      </li>

      • Third, under the “Mail” actions library, drag and drop Entourage’s Create New Mail Message (or Mail’s New Mail Message, if you prefer) to the righthand window pane. <div id="attachment_390" style="width: 160px" class="wp-caption alignnone"> Action - Create New Entourage Mail Message

        Action - Create New Entourage Mail Message

        </div>

      • Fourth, and finally, again under the “Mail” actions library, drag and drop Entourage’s Add Attachments to Entourage Message (or Mail’s Add Attachments to Front Message) to the righthand window pane <div id="attachment_389" style="width: 160px" class="wp-caption alignnone"> Action - Add Attachments to Entourage Messages

        Action - Add Attachments to Entourage Messages

        </div>

        .</li> </ol>

        Workflow Context Menu Selection

        Workflow Context Menu Selection

        Now that your workflow is complete, you’ll need to save it. I recommend first saving it as a “workflow”, so you can tweak it later if need be. Next, we’ll choose to save it as a Finder plugin, which will put your workflow plugin into ~/Library/Workflows/Applications/Finder/

        You can also save Automator workflows as applications (.app), however, doing so in this example would mean when you run the .app, Entourage will open and attach the .app file itself to your new mail message – not quite the intended use here.

        The only two negatives I can speak of with regard to using Automator workflows are:

          1. Automator workflows may take a few seconds to execute. An AppleScript version of the same workflow executes more quickly, but of course means you’ll have to code the automation rather than click your way through creating it.
          2. The Automator workflows are three levels deep in the Finder context menu. This makes navigating your mouse to select your workflow precarious.
        
        <img class="alignright size-full wp-image-375" title="OS X Send to Mail Recipient" src="https://i2.wp.com/gingergeek.com/wp-content/uploads/2009/06/OS-X-Send-to-Mail-Recipient.png?resize=102%2C89" alt="OS X Send to Mail Recipient" data-recalc-dims="1" />
  
        I can live with the extra few seconds to execute the workflow, but would love to see an automator workflow at the top level of the “More” contextual menu. Anyone know how this is done?

Lee Calcote

Lee Calcote
Lee Calcote is an innovative thought leader, passionate about developer platforms and management software for clouds, containers, infrastructure and applications. Advanced and emerging technologies have been a consistent focus through Calcote’s tenure at SolarWinds, Seagate, Cisco and Pelco. An organizer of technology meetups and conferences, a writer, author, speaker, he is active in the tech community.

Talk - Service Meshes, but at what cost

As you learn of the architecture and value provided by service meshes, you’re intrigued and initially impressed. Upon reflection, you, li...… Continue reading