# Sending Emails From Thunkable App | Gmail App

**URL:** <https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195>\
**Category:** Questions about Thunkable X\
**Created:** [March 4, 2020, 5:57am UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195 "2020-03-04T05:57:57Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![omobude265j50i](https://avatars.discourse-cdn.com/v4/letter/o/898d66/32.png) [@omobude265j50i](https://community.thunkable.com/u/omobude265j50i)\
**Post date:** [July 31, 2020, 3:08pm UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/42 "2020-07-31T15:08:59Z")

</div>

Hello @cctricks Big thanks for the response sir, i didn’t use any variable, is it necessary?

here is my block  
 ![what is the error](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/a/5aa74eaa9b062445e1b4280c8beb732573105dcb.png)

if this problem can be solved i will be so much happy, i never know why web component never favor me

---

<div class="post-metadata">

**Author:** ![jainashish2178z0u55](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jainashish2178z0u55](https://community.thunkable.com/u/jainashish2178z0u55)\
**Post date:** [August 31, 2020, 1:46am UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/43 "2020-08-31T01:46:24Z")

</div>

Hi, I have followed all the logic of creating a Google Web App for sending an email and linking the 'https" URL in Thunkable WebAPI module, but I am getting an error “the website or service provider you are trying to reach does support HTTPS” when I call the POST function.

Do you have any suggestions on what to do?

---

<div class="post-metadata">

**Author:** ![cttricks](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cttricks/32/93678_2.png) [@cttricks](https://community.thunkable.com/u/cttricks)\
**Post date:** [September 1, 2020, 5:07am UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/44 "2020-09-01T05:07:20Z")

</div>

> [@jainashish2178z0u55](#):
>
> the website or service provider you are trying to reach does support HTTPS

This only happens when you test any API call from thunkalbe live on website.

> [@jainashish2178z0u55](#):
>
> Do you have any suggestions on what to do?

try with companion app… it’ll work 😁

---

<div class="post-metadata">

**Author:** ![jainashish2178z0u55](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jainashish2178z0u55](https://community.thunkable.com/u/jainashish2178z0u55)\
**Post date:** [September 2, 2020, 11:47am UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/45 "2020-09-02T11:47:00Z")

</div>

Thanks, that helped. I also had some permissions issue. It is working fine now on the mobile device as well as desktop Live Test.

---

<div class="post-metadata">

**Author:** ![Sashibhusan\_Sahoo](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@Sashibhusan\_Sahoo](https://community.thunkable.com/u/Sashibhusan_Sahoo)\
**Post date:** [October 28, 2020, 12:16pm UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/46 "2020-10-28T12:16:04Z")

</div>

It changes when the G-script is Used in Different Account

---

<div class="post-metadata">

**Author:** ![pattanachai.kxna1](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@pattanachai.kxna1](https://community.thunkable.com/u/pattanachai.kxna1)\
**Post date:** [November 6, 2020, 10:41am UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/47 "2020-11-06T10:41:48Z")

</div>

@cttricks Thank you. I will try to do this for sending OTP to user email for verify if it’s the workable email.

Thank you so much.  
Jib

---

<div class="post-metadata">

**Author:** ![boris.ivanov.mailn56](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@boris.ivanov.mailn56](https://community.thunkable.com/u/boris.ivanov.mailn56)\
**Post date:** [November 10, 2020, 8:09pm UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/48 "2020-11-10T20:09:48Z")

</div>

Hi.

Any way to send attachment with this solution?

---

<div class="post-metadata">

**Author:** ![saiat7](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@saiat7](https://community.thunkable.com/u/saiat7)\
**Post date:** [December 31, 2020, 9:02am UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/49 "2020-12-31T09:02:25Z")

</div>

Hi,

i have a similar problem except for the fact that i have to send a image, so in my parameters should i have it as an image URL ? AND IF SO HOW SHOULD I CHANGE MY GOOGLE SCRIPT ?

Thanks

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [December 31, 2020, 1:09pm UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/50 "2020-12-31T13:09:31Z")

</div>

Can you share your app script and the blocks you are using?

I am sending a preformatted email with html using this method.

---

<div class="post-metadata">

**Author:** ![saiat7](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@saiat7](https://community.thunkable.com/u/saiat7)\
**Post date:** [December 31, 2020, 1:15pm UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/51 "2020-12-31T13:15:14Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/6/56a39ed2cb1545cfe65e1ec8df1f369eb04c49d7.png)

well for the blocs, i have stored them into a cloudinary and have got the media url, so can i add in another parameter and replace it in the code using replace url to image? is there any such command?

---

<div class="post-metadata">

**Author:** ![p.powercoders1i0t](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@p.powercoders1i0t](https://community.thunkable.com/u/p.powercoders1i0t)\
**Post date:** [February 17, 2021, 2:13pm UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/52 "2021-02-17T14:13:29Z")

</div>

Thanks for this awesome tutorial!! I just have one question: If I publish it as a web app will it work?

**Edit:**

It works perfectly! Just was wondering if there was a way to change who the emails from, would i use var from = e.parameters.from …?

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [February 20, 2021, 9:17am UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/53 "2021-02-20T09:17:17Z")

</div>

> [@p.powercoders1i0t](#):
>
> wondering if there was a way to change who the emails from

@p.powercoders1i0t, I’d guess from the way the script is set up that this isn’t possible

> [@cttricks](#):
>
> **Execute the app as:** Me (Your\_email\_address)

How many different “from” addressed do you use?

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [February 20, 2021, 11:38am UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/54 "2021-02-20T11:38:34Z")

</div>

You can send with an alias but not just any old name

See this page

> **[Class GmailApp  |  Apps Script  |  Google Developers](https://developers.google.com/apps-script/reference/gmail/gmail-app#sendEmail(String,String,String,Object))**

---

<div class="post-metadata">

**Author:** ![spottestdxbffptf](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@spottestdxbffptf](https://community.thunkable.com/u/spottestdxbffptf)\
**Post date:** [February 23, 2021, 5:43am UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/55 "2021-02-23T05:43:11Z")

</div>

Hi cttricks, how about outlook instead of gmail? is that possible?

---

<div class="post-metadata">

**Author:** ![jib.gencodeiwudqi](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jib.gencodeiwudqi](https://community.thunkable.com/u/jib.gencodeiwudqi)\
**Post date:** [February 24, 2021, 3:56am UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/56 "2021-02-24T03:56:19Z")

</div>

Thank you @cttricks . It’s working!

---

<div class="post-metadata">

**Author:** ![awesome\_coder](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@awesome\_coder](https://community.thunkable.com/u/awesome_coder)\
**Post date:** [February 24, 2021, 6:45am UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/57 "2021-02-24T06:45:18Z")

</div>

It’s not working

---

<div class="post-metadata">

**Author:** ![p.powercoders1i0t](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@p.powercoders1i0t](https://community.thunkable.com/u/p.powercoders1i0t)\
**Post date:** [February 25, 2021, 5:56am UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/58 "2021-02-25T05:56:22Z")

</div>

> [@awesome\_coder](#):
>
> It’s not working

maybe share a picture of your blocks and google app script code to provide some information so the problem can be easily identified.

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [March 22, 2021, 7:19am UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/59 "2021-03-22T07:19:21Z")

</div>

Do you know of a way to do this @jared? I need this feature in my app.

---

<div class="post-metadata">

**Author:** ![cttricks](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cttricks/32/93678_2.png) [@cttricks](https://community.thunkable.com/u/cttricks)\
**Post date:** [March 22, 2021, 7:25am UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/60 "2021-03-22T07:25:33Z")

</div>

> [@Looping through a local DB](https://community.thunkable.com/t/looping-through-a-local-db/1179941/29):
>
> Switch to legacy editor → then continue with the old method

---

<div class="post-metadata">

**Author:** ![awesome\_coder](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@awesome\_coder](https://community.thunkable.com/u/awesome_coder)\
**Post date:** [March 24, 2021, 7:45am UTC](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195/61 "2021-03-24T07:45:34Z")

</div>

Sorry but my app is private.

[Previous page](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195.md?page=2)

[Next page](https://community.thunkable.com/t/sending-emails-from-thunkable-app-gmail-app/497195.md?page=4)
