Hacker News new | ask | show | jobs
by imron 2443 days ago
Create an app password [0], and then use something like ssmtp for sending the mail.

Your app then then just call out to ssmtp, passing in the relevant mail information (to, from, subject, message, etc).

0: https://support.google.com/accounts/answer/185833?hl=en