SYSTEM NOTICE

Auto translation by AI. Be sure, accuracy, nuances and authorial intent may not be fully reflected.
見出し画像

You can now send emails directly from Gmail using recipients and body text written in a spreadsheet

That time spent sending the same message to multiple people while changing only the recipient is gone. Once I lined them up in the sheet, they were ready to be sent.

"Sending 10 emails with the same content but different recipients. Removing the Cc, tweaking the subject line, and clicking the send button 10 times. Those 30 minutes were disappearing every month."

With a spreadsheet and GAS, that has changed.


Turn your spreadsheet into a "shelf for recipients and body text"

Line up the recipients, subject lines, and body text in the rows of the sheet. That is the only preparation needed before sending.

First, I designed the sheet. Column A for recipient email addresses, Column B for subject lines, and Column C for body text. I lined up the data for one person per row. Turn your spreadsheet into a "shelf for recipients and body text", that was the very first step this time.

I put placeholders like {{name}} in the subject line and body text. "Dear {{name}}" arrives replaced with the actual name. Moving away from copy-paste emails started with turning templates into variables.

I left Column E empty for a send flag. "Sent" is automatically entered in rows where sending is complete. Preparation before sending is now just filling out the sheet. Since the recipient list and email body are on one screen, reviewing and replacing content is completed entirely within the sheet.


I asked AI to "write code to send Gmail from this sheet"

Just by telling the AI the column structure of the sheet, it returns code using GmailApp.sendEmail().

Once the sheet structure was decided, all that was left was to tell the AI.

"I just told the AI: Column A is the recipient email address, Column B is the subject, and Column C is the body. Write code to send Gmail in bulk from this sheet."

What came back was GAS code using GmailApp.sendEmail(to, subject, body). I told the AI the column structure exactly as it was. I didn't do anything more than that. The placeholder replacement for the subject and body, and the logic for checking the Column E flag, were all written for me when I said, "This is the sheet configuration."

You don't have to think about how to write it yourself. Even if you don't remember GAS syntax, as long as you have the sheet design in your head, you get back code that works. I pasted the code into the GAS editor and ran it. The sending began.

Sending Gmail from GAS operates within the limits of your Google account's sending quota (500 per day). As long as you are sending to recipients for legitimate business purposes, it is a usage that is fine under the terms of service.


A safety device to prevent "double sending" with a sent flag

After sending, it writes "Sent" back to Column E of the sheet. The next time it runs, it skips that row.

What's scary about bulk sending is sending the same email to the same person twice.

GAS writes "Sent" back to Column E after sending. When the script is executed next, rows with "Sent" in Column E are skipped. Writing back to the sheet after sending, this one line became a safety device.

When I was sending 10 items manually, there were times I lost track of how far I had gotten. I might have closed the sheet or the browser might have frozen. Each time that happened, time was wasted checking, "Did I send it to that person yet?"

No duplicate sending, so you can execute it with peace of mind. Rows with a flag are skipped. Even if you press the execute button again, it won't resend. Because you have that peace of mind, you can execute it without hesitation.


Once you are freed from routine emails, you can spend your time on the emails that really need to be written

Line them up in a sheet -> GAS sends them in bulk -> The flag is written back. These three steps are now automatically connected.

Once you are freed from routine emails, you can spend your time only on the emails that really need to be written. You can now dedicate time to emails that truly require thought and writing, and to interactions where every single message counts. The time you used to spend on sending is gone.

"If you line them up in a sheet, they are ready to be sent. There is no more time spent pressing the send button 10 times."


Why not turn bulk sending of routine emails into a system using GAS?

If you are someone who is "sending monthly announcement emails by hand" or "copy-pasting sales follow-ups for each recipient," please feel free to consult with us.

From how to use spreadsheets to designing sent flags, we will organize it together to match your business workflow.

#GoogleAppsScript #Gmail #BusinessAutomation #AIUtilization #Email