Website Contact Form to Google Sheets to Email using appscript

61 views
Skip to first unread message

Robert Gilbert

unread,
Oct 12, 2023, 12:59:21 AM10/12/23
to Google Apps Script Community
I wrote an app script in Google Sheets that takes my website contact form data a user inputs and puts it in google sheets then emails me its content. 

A couple days later after implementing it on my website my Gmail account was disabled, Is code like this against Google policies?

I was able to reverify my account to get back in but they didn't tell me what I did wrong. The email from Google said:

The Google Account xxxxxx...@gmail.com is now disabled. It looks like it was being used in a way that violated Google's policies.

I don't want to get locked out of my account. It was disabled like an hour ago. Not sure if I should remove the implantation?

Andrew Apell

unread,
Oct 12, 2023, 7:57:46 AM10/12/23
to Google Apps Script Community
This happened to me once and all they said was that there was some suspicious activity going on in my account.
You should check if your script has the appropriate scopes enabled and that you have been granted permission to use them.

Kevin Vaghasiya

unread,
Oct 12, 2023, 8:04:25 AM10/12/23
to Google Apps Script Community
Are you sending emails using Google Apps Script?

Andrew Apell

unread,
Oct 12, 2023, 8:13:58 AM10/12/23
to Google Apps Script Community
Yes. I have a script that sends out multiple emails every day... but I have not experienced this issue in 2+ years now.

Kevin Vaghasiya

unread,
Oct 12, 2023, 8:14:52 AM10/12/23
to Google Apps Script Community
It can be issue if receiver reports your email.  

Robert Gilbert

unread,
Oct 12, 2023, 11:03:50 AM10/12/23
to Google Apps Script Community
Yes, I'm using Google App Script to sent emails to me (Only)

Robert Gilbert

unread,
Oct 12, 2023, 11:21:50 AM10/12/23
to Google Apps Script Community
Thanks for your input. Maybe it was a fluke. I also use mailmerge once per year to email all my clients for annual service during I email about 250 clients per day using mailmerge but have for last 6 years with no issue.
Reply all
Reply to author
Forward
0 new messages