More and more companies are sending electronic invoices.

  • Some do so by attachment,
  • others by embedding an URL to an on-line location.
    • For URLs, some require login or cookie, some don't.

I'm looking for a way to automate my Gmail so that for mails I (manually or automatically) mark with a certain label (like save-files or print-files) the files will be either saved, or printed.

Where should I get started?

I can put up a Windows VM behind firewall for this if needed.

Download probably suffices, as from there I should be able to print.


There's a nifty service called IFTTT (which stands for "If This Then That") that, among many other things, will allow you to create "Recipes" to automate certain tasks within certain "Channels".

Here's an example of an IFTTT recipe that saves "starred" Gmail attachments to an Evernote account. (Gmail and Evernote are just 2 of more than 160 "Channels" within IFTTT.)

And here's a recipe that adds Gmails labeled "To-do" to an iOS Reminders list.

  • 1
    IFTTT is awesome. I have a recipe that saves any PDF attachment where it finds "receipt" in the message body to my Google Drive. – ale Feb 1 '15 at 0:07
  • @AlE. can you share that recipe? – Jeroen Wiert Pluimers Feb 10 '15 at 17:46
  • 1
    @Jeroen: Here's someone else's: Save electronic receipts to Gdrive. A quick search for "receipt" offers a bunch of other likely candidates. – ale Feb 10 '15 at 19:30
  • Also, here's a link to the (currently) 775 recipes involving the terms "Gmail Google Drive": ifttt.com/connect/gmail/google_drive – Tom Feb 11 '15 at 18:50
  • 1
    @JeroenWiertPluimers: Not mine, but this applet purports to do the same thing. Tweak as necessary. – ale Mar 15 '17 at 15:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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