# Ifttt - photo attachments from gmail?

**URL:** <https://boards.straightdope.com/t/ifttt-photo-attachments-from-gmail/691364>\
**Category:** Factual Questions\
**Created:** [June 22, 2014, 3:02pm UTC](https://boards.straightdope.com/t/ifttt-photo-attachments-from-gmail/691364 "2014-06-22T15:02:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Engywook](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@Engywook](https://boards.straightdope.com/u/Engywook)\
**Post date:** [June 22, 2014, 3:02pm UTC](https://boards.straightdope.com/t/ifttt-photo-attachments-from-gmail/691364/1 "2014-06-22T15:02:57Z")

</div>

I’m hoping to be able to have all .jpg attachments sent straight to Dropbox via ifttt.

Lots of recipes out there that would appear to do exactly this for _all_ gmail attachments. These work for every kind of attachment _except_ images. :dubious: Could be my google skills are out to lunch, but searching for this gets me lots of ways to send images _to_ gmail… and numerous recipes that apparently have the same behavior.

I can see that gmail does handle images a bit differently (displaying them in the body of the email) so wonder if going after attachments is the right logic to use with ifttt.

But if not that, what does work? Can there really be no way to do this? 😕

---

<div class="post-metadata">

**Author:** ![aaelghat](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@aaelghat](https://boards.straightdope.com/u/aaelghat)\
**Post date:** [June 22, 2014, 3:51pm UTC](https://boards.straightdope.com/t/ifttt-photo-attachments-from-gmail/691364/2 "2014-06-22T15:51:05Z")

</div>

Well, one thing you can do is build or use a [Google Script](https://developers.google.com/apps-script/) that looks at your gmail account every five minutes and takes in jpg, png files and moves them to Google Drive. From there, you could use IFTTT or Zapier to move them to DropBox.

Here’s a [guy](http://www.labnol.org/internet/send-gmail-to-google-drive/21236/)that wrote a [script](http://ctrlq.org/code/19053-send-to-google-drive), but to filter on the attachment type you’d have to buy either modify the script yourself by specifying the extension or buy his premium version.

An easier method might be to use a [free Chrome Plug-In](https://kloudless.byappdirect.com/apps/10430?restoreSearch=true#!features/Automation_rules)that will let you move images to Google Drive via automation rules. Actually with the plug-in it looks like you can move them directly to DropBox as well.

---

<div class="post-metadata">

**Author:** ![Engywook](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@Engywook](https://boards.straightdope.com/u/Engywook)\
**Post date:** [June 23, 2014, 12:08am UTC](https://boards.straightdope.com/t/ifttt-photo-attachments-from-gmail/691364/3 "2014-06-23T00:08:59Z")

</div>

Thanks, **aaelghat**! The script is working out perfectly. I’m fine with all attachments getting picked up (and it does seem that in the current version you can limit by file type), but so long as it doesn’t exclude jpg’s I’m getting what I need here.
