SmartMailer is an automated email sending tool designed to streamline the process of applying to job positions. It reads recipient details from a Google Sheet, customizes each email with specific details such as the job role, company name, and job invite code, and sends the emails individually. The emails are personalized with a tailored subject line and body content, and each email includes an attachment of the sender's resume.
SmartMailer.mov
- Read recipient details from a Google Sheet
- Customize email subject and body with job-specific details
- Attach resume to each email
- Send emails individually
- Python 3.x
- Google Cloud project with Google Sheets API enabled
- Credentials JSON file for Google Sheets API
- Gmail account for sending emails
- Required Python libraries (
gspread
,oauth2client
,smtplib
)
-
Clone the repository:
git clone https://github.com/yourusername/SmartMailer.git cd SmartMailer
-
Install the required Python libraries:
pip install gspread oauth2client
-
Ensure you have your Google Sheets API credentials JSON file (e.g.,
credentials.json
) and your resume file (e.g.,resume.pdf
) in the project directory.
-
Create a Google Sheet with the following columns:
- ROLE
- COMPANY
- CODE
-
Share the Google Sheet with your service account email from the Google Cloud project.
-
Update the
send_emails.py
script with your details:- Replace
"Your Google Sheet Name"
with the name of your Google Sheet. - Update
SENDER_EMAIL
andSENDER_PASSWORD
with your Gmail credentials. - Ensure
credentials.json
andresume.pdf
are in the same directory as the script.
- Replace
Run the script to send the emails:
python send_emails.py
This project is licensed under the MIT License.