Emails sent with MailApp.sendMail go to junk on Outlook

12 views
Skip to first unread message

Ahmed Amine Boustani

unread,
Oct 7, 2019, 10:36:14 AM10/7/19
to AdWords API and Google Ads API Forum
Hello,

I'm writing a script in MCC level and at the end I send an email with an attachment. Almost every time, the email is received in the junk in our Outlook inbox.

Here's the function that I used.

  MailApp.sendEmail(
    subject,
    body,
    {
      attachments:[{ fileName: 'file.csv', mimeType: 'text/csv', content: csv }],
      noReply: true
    }
  );

In addition, there's via maestro.bounces.google.com added to the sender of the email.

How can I fix it so that it's not detected as spam?

Google Ads API Forum Advisor Prod

unread,
Oct 7, 2019, 1:02:53 PM10/7/19
to ahmed-amin...@crealytics.com, adwor...@googlegroups.com

Hi Ahmed,

We only address concerns specific to Google Ads API/Adwords API on this forum. Since, your concern is related to Google Ads Scripts, I would recommend posting it here as our scripts team are better equipped to assist you regarding your concern. Feel free to reach out if you have any concerns related to API.

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UKMOJk:ref
Reply all
Reply to author
Forward
0 new messages