# Custom Rule to send an email that includes the task's attachment

**URL:** <https://forum.asana.com/t/custom-rule-to-send-an-email-that-includes-the-tasks-attachment/986685>\
**Category:** Ask the Community\
**Tags:** gmail, attachments, emails, tasks, rules\
**Created:** [26 November 2024 17:38 UTC](https://forum.asana.com/t/custom-rule-to-send-an-email-that-includes-the-tasks-attachment/986685 "2024-11-26T17:38:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sarah\_Cavanaugh](https://luna1.co/8d76cd.png) [@Sarah\_Cavanaugh](https://forum.asana.com/u/Sarah_Cavanaugh)\
**Post date:** [26 November 2024 17:38 UTC](https://forum.asana.com/t/custom-rule-to-send-an-email-that-includes-the-tasks-attachment/986685/1 "2024-11-26T17:38:18Z")

</div>

Hello! I’m trying to set up a custom rule that triggers when an attachment is added to a task. Once the attachment is added, I’d like Asana to send an email using the Gmail integration and include the attachment from the task in the email. Is this possible?

---

<div class="post-metadata">

**Author:** ![Larry\_Berger\_lpb](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/larry_berger_lpb/32/276017_2.png) [@Larry\_Berger\_lpb](https://forum.asana.com/u/Larry_Berger_lpb)\
**Post date:** [26 November 2024 17:50 UTC](https://forum.asana.com/t/custom-rule-to-send-an-email-that-includes-the-tasks-attachment/986685/2 "2024-11-26T17:50:24Z")

</div>

@Sarah_Cavanaugh,

Everything is possible (triggering a rule on attachment added, and action to send a Gmail) except including the attachment.

The best you could do is have the action include a link to the attachment, for example if you 1) stored the attachment with GDrive or similar, and 2) stored a link to that in a text custom field. You can then include (2) in your email message body like this:

 ![image](https://us1.discourse-cdn.com/asana/original/4X/c/1/f/c1fca344d083b19440e52b22c3699dc2671abee4.jpeg)

Thanks,

Larry

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/system/32/276370_2.png) [@system](https://forum.asana.com/u/system)\
**Post date:** [3 December 2024 17:50 UTC](https://forum.asana.com/t/custom-rule-to-send-an-email-that-includes-the-tasks-attachment/986685/3 "2024-12-03T17:50:28Z")

</div>

Closed on 3 December 2024 17:50 UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
