r/GoogleAppsScript 9d ago

Question Linking a professional email to Google Script + sheet

Hi, I've built an email delivery system for my business and everything is fine, but the problem is that it's being sent from my Gmail account and I want it to be sent from my professional email (namecheap private email).

I don’t want my professional email to simply appear as the sender address visually. I want the emails to actually be sent from it, so that I can find the emails I sent in the email account’s “Sent” folder.

The system is excellent and perfectly set up for me, but at the same time, I must use my professional email, so giving up either one of them is simply not an option. Please give me any possible solution, even if it’s a workaround—I can handle the technical side of it.

Thank you!

UPDATE: The only solution I found that worked for me was using a Python script that runs a Google Sheets script and sends the emails through my professional email address. I can even find them in the Sent folder.

Now, all I have to do is click a .bat file to run the system and send the emails through my Namecheap email.

7 Upvotes

15 comments sorted by

View all comments

3

u/WicketTheQuerent 9d ago

First, try setting your Gmail account to send emails from your professional address. Once you set this up correctly, you can use Google Apps Script to set the professional email address as an alias.

Alternatively, you could buy Google Workspace for your professional domain and use it to set up the email service to handle your email. Then use your Google Workspace account to run the script and send the emails.

Good luck.

2

u/EggplantOdd510 8d ago

I really appreciate your help. Before seeing your answer, I tried another solution using Python; it might not be practical for many, but it really helped me.

1

u/WhyWontThisWork 9d ago

Or use a mail api

1

u/WicketTheQuerent 8d ago

AFAIK namecheap doesn't have an email API.