This is a script in Python to automatically send e-mails to all users at once. The list of users must be stored in a textfile and you just need to specify the location.
No external libraries required
Library used is smtplib
Also you need to turn off 2step verification for this.