# Component trigger in App to send entire Google Sheet via email

**URL:** https://community.glideapps.com/t/component-trigger-in-app-to-send-entire-google-sheet-via-email/2431
**Category:** Ask for Help
**Created:** [November 26, 2019, 9:15pm UTC](https://community.glideapps.com/t/component-trigger-in-app-to-send-entire-google-sheet-via-email/2431 "2019-11-26T21:15:35Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [November 27, 2019, 12:02am UTC](https://community.glideapps.com/t/component-trigger-in-app-to-send-entire-google-sheet-via-email/2431/3 "2019-11-27T00:02:59Z")

</div>

The best option I can think of right now is to use the Email Button component. That allows you to specify a recipient, subject, body of message etc. You can set the action in a button to send an email, but for some reason you can’t set the subject, body, etc.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/0/04f89850d92a95a26ee0b515f111a98f9cfbb218.png)

To get a copy of your sheet as a PDF, look at the following thread which shows how to create a link that will do that for you. You can include the link in the email and the link will always create an up-to-date PDF version of the sheet.

> [@Filter Tabs/Menu by signed-in user](https://community.glideapps.com/t/filter-tabs-menu-by-signed-in-user/992/9):
>
> Hey Jeff, I’m probably using the same method you are ([https://docs.google.com/spreadsheets/d/](https://docs.google.com/spreadsheets/d/){SPREADSHEET ID}/export?gid={SHEET ID}&exportFormat=pdf&format=pdf&portrait=true&single=true&size=0&fitw=false, or some variation of that), which works beautifully on the computer and iOS. But for some quirky reason it doesn’t work on Android, unless the user has a PDF app installed. If you don’t need it formatted in portrait mode, you can try adding "[https://docs.google.com/viewer?url=](https://docs.google.com/viewer?url=)"before the PDF e…

This is another thread that talks about using scripting.

> [@Email Report](https://community.glideapps.com/t/email-report/1452):
>
> If I set up my app to generate a report how can I get it to send said report it the layout it’s set up in the app as an email or a Pdf document

---

_[View the full topic](https://community.glideapps.com/t/component-trigger-in-app-to-send-entire-google-sheet-via-email/2431)._
