Autonomous email outreach with Gmail SMTP and Node.js
Описание и применение
Автоматизированный скрипт на Node.js отправляет персонализированные письма через Gmail SMTP, используя App Password и nodemailer.
Задача
Manual outreach to hundreds of potential partners is tedious, requires personalization, tracking, and scaling.
Результат
The script successfully sends personalized emails to a list of recipients using Gmail SMTP, logging success or errors for each email.
Рабочий процесс
- Set up Node.js project and install nodemailer
- Enable 2-Step Verification and create an App Password in Google Account
- Create recipient list with email and name
- Write sendEmail function configuring nodemailer transporter with Gmail service and credentials
- Personalize email body by replacing {{name}} placeholder
- Iterate over recipient list in main function, calling sendEmail for each
- Run script with node app.js and monitor console output
- Implement delay or rate limiting if scaling beyond Gmail limits
Доказательства
Gmail has usage limits. Exceeding these can lead to your account being temporarily locked.
Enable 2-Step Verification on your Google Account.
Use nodemailer to send emails via Gmail SMTP.
- Дата записи: 2026-10-09T21:41:07.586Z