[SOLVED] Automatically send an email

Hello everyone :grinning:

I am working in a project where I want a user to get an email with a message in it which is to be sent through me or my app. How can I do that?

Thanks in advance

1 Like

You can create zapier email automation and connect it with your database

3 Likes

You can use the MailApp of the Google Apps Script.

2 Likes

@muneer How to use that? is that in the form of an API .

1 Like

Check this post

2 Likes

At this point, I’d create a web hook in integromat and keep things nocode. I’ll work up an example sometime soon!

But yes, my most recently published app uses this method to send emails.

2 Likes

It has been rebranded as Make.

1 Like

I always forget that. You’d think I’d know that by now considering I pay for and use the them monthly! Haha

3 Likes

@Jared_Gibb do you think Make is better than Sendgrid/Twillio? Or do they accomplish different things?

I like Make because it’s what I’m familiar with and it’s cheap.

The next thing I’d go to is SendIn Blue .

For my own projects, i like to buy a gsuite domain name and get an email address. 6/month
then i can send apps from my appscript and so they come from admin@appname.com. you can send something like 20k emails per day but it takes some coding and setup, so def not nocode

1 Like

Is this the correct script I’m suppose to use in my app?

function doPost(e){
  var recipient = e.parameters.recipient;

  var subject = e.parameters.subject;

  var body = e.parameters.body;

  MailApp.sendEmail(recipient,subject,body);


}
2 Likes

The latest from Google, parameters returns a list while parameter returns a single variable. You need to check both.

2 Likes

I tried my script with thunkable although I get no errors, I don’t get any mail
What should I do?
This what I have done in thunkable

1 Like

Try using a single word only for subject and message and see if it works.

1 Like

I got it working. The problem was my api url it was incorrect and when I redeployed my script with a new web app url ;
It worked as expected. Thanks @muneer! :grinning:

3 Likes

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