Trello Email automations- Automation to Email a client with Attachment
Asked by Alex Chavel:

Hey Everyone

We have several Direct-To-Client email automations setup in our various steps of production in Trello, so they are updated on the various steps in their order.

The one automation we can't sort out to send is this:

Our art department makes a mockup/proof of every order which is saved as a PDF or Jpg in each card.

We want that file automatically emailed to the client when our art department slides the card from "Mockups To Do" to "Mockups Waiting For Approval"

We already have custom field in each card, and understand automations a bit, but each card has other attachments in it as well, so we need an automation to send the email, with a short message, and the correct Mockup File attached.

Is there an automation we could make that would send the email and attach let's say the top file attached in the list? with a stock short message attached lile "Here is your mockup, please review it and Approve if correct"?

we want to automate as much of these steps as possible, expecting sales to grow quickly this year!


Answers:
author: Christl_Email for Trello
body: Hi [@Alex Chavel](/t5/user/viewprofilepage/user-id/5002539)?

Christl from [SendBoard](https://www.sendboard.com/) here - makers of the [Email for Trello Power-Up](https://trello.com/power-ups/5d4c0b80452f202510cce4cc/sendboard).

As [@milynnus](/t5/user/viewprofilepage/user-id/3947182) mentioned there isn't an obvious, easy way to automate picking a file from the card to attach in an email. We have few users that have a similar use case to yours. They manage files in a drive, add the link of the drive/folder in a custom field and then include the custom field [variable](https://help.sendboard.com/en/articles/4219239-include-variables-in-your-emails-and-saved-replies) in their saved reply. This is then populated with the relevant link when your email is sent. (Saved replies are great for automations e.g. [automatically send an email when dragging a card to a certain list](https://www.sendboard.com/blog/drag-a-trello-card-to-send-an-email?rq=drag)).

Recipients can then access the attachments/drive through the link shared with them in the email. This might not be what you had in mind, but depending on your workflow, this might be an option that could work.

Hope that helps!

comments: author: Alex Chavel
body: Thanks for this!

I think this could totally work for us, will try It today.


author: milynnus
body: [@Alex Chavel](/t5/user/viewprofilepage/user-id/5002539)

Here are some options but none of them addresses you requirement to pick the top files. Attachment url and the files are only shared with permission aka it needs the api key and token.

Here's a list for you to explore further :

- Contalist : it can include attachments in their email templates or add a file when review the email action

- Hipporello with some modification will allow to share card and, selectively, add attachment(s) and notify your user to go to the webportal

- Sendboard probably have the same but I doubt you can automate it for the first attachment

- External share (Poweruo) selectively shares a card and it think there is file management powerup that could help in your case

- I have an Taco mail app but it does not , at this moment to include attachments but you take a look at it <https://deta.space/discovery/@milynnus/taco_mail>

- I have some add on to Trello automation around attachments. One of the allows you to get the attachment..perhaps that can help in your automation. <https://deta.space/discovery/@milynnus/space_butler>

- I believe there are other options, just have to figure out which will work best for you.

comments: author: milynnus
body: [@Alex Chavel](/t5/user/viewprofilepage/user-id/5002539)

<https://dojo.hipposites.com/space-butler/shared-card-detail/71ed6582a9f7482a97938cb1c675e111-shared-card-detail>

I have been exploring this concept the limitation so far is that it white hole integration does not return the url to http request.


author: milynnus
body: [@Alex Chavel](/t5/user/viewprofilepage/user-id/5002539)

Got this to work (**Update**: email delayed so no issue with Trello automation)

Solution uses the following :

* A Deta Space app called Black Hole which has an integration to a white hole
* Space Butler to get the image and deposit it into the White Hole
* Taco Mail to sent the email to client.

Disclaimer : Space Butler and Taco Mail are written by me. Previous for own consumption and projects, now are apps on Deta Space.

![Screen Shot 2023-02-20 at 12.24.58 PM.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/241127i34D18B4A3270A4ED/image-size/large?v=v2&px=999 "Screen Shot 2023-02-20 at 12.24.58 PM.jpg")![Screen Shot 2023-02-20 at 12.25.48 PM.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/241125i82D282513B0F7F1B/image-size/large?v=v2&px=999 "Screen Shot 2023-02-20 at 12.25.48 PM.jpg")![Screen Shot 2023-02-20 at 12.25.15 PM.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/241126i6999B53C9B0EC287/image-size/large?v=v2&px=999 "Screen Shot 2023-02-20 at 12.25.15 PM.jpg")


author: Alex Chavel
body: Thank you!

we'll try this option as well today!