All Projects β†’ alandgton β†’ activism-mailbot

alandgton / activism-mailbot

Licence: other
No description or website provided.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to activism-mailbot

Email Dashboard
πŸ“ͺ An interactive emailing management service with scheduling, templating, tracking and A/B testing.
Stars: ✭ 194 (+295.92%)
Mutual labels:  email, email-sender, emails
Email-Spammer
Great script for sending and spaming emails! gmail, yahoo, outlook, hotmail.
Stars: ✭ 79 (+61.22%)
Mutual labels:  email, email-sender, emails
Html Email Templates
Free HTML Email Templates created using the Postcards - https://designmodo.com/postcards/
Stars: ✭ 178 (+263.27%)
Mutual labels:  email, emails
Awesome Newsletters
A list of amazing Newsletters
Stars: ✭ 2,468 (+4936.73%)
Mutual labels:  email, emails
Nodemailer
βœ‰οΈ Send e-mails with Node.JS – easy as cake!
Stars: ✭ 14,354 (+29193.88%)
Mutual labels:  email, email-sender
Preview Email
Automatically opens your browser to preview Node.js email messages sent with Nodemailer. Made for Lad!
Stars: ✭ 112 (+128.57%)
Mutual labels:  email, emails
Gulp Mjml
Add Gulp to your MJML workflow!
Stars: ✭ 137 (+179.59%)
Mutual labels:  email, emails
Hermes
Golang package that generates clean, responsive HTML e-mails for sending transactional mail
Stars: ✭ 2,379 (+4755.1%)
Mutual labels:  email, emails
Nova Custom Email Sender
A Laravel Nova tool that sends ad-hoc email messages from the dashboard.
Stars: ✭ 62 (+26.53%)
Mutual labels:  email, email-sender
Mailer
A light-weight, modular, message representation and mail delivery framework for Python.
Stars: ✭ 225 (+359.18%)
Mutual labels:  email, email-sender
Vmime
VMime Mail Library
Stars: ✭ 218 (+344.9%)
Mutual labels:  email, email-sender
Email-Spammer
The Ultimate script for spamming email to annoy your friends.
Stars: ✭ 66 (+34.69%)
Mutual labels:  email-sender, emails
Awesome Emails
βœ‰οΈ An awesome list of resources to build better emails.
Stars: ✭ 1,379 (+2714.29%)
Mutual labels:  email, emails
Swiftmailer
Comprehensive mailing tools for PHP
Stars: ✭ 9,503 (+19293.88%)
Mutual labels:  email, emails
0x4447 product s3 email
πŸ“« A serverless email server on AWS using S3 and SES
Stars: ✭ 2,905 (+5828.57%)
Mutual labels:  email, email-sender
Email Extractor
The main functionality is to extract all the emails from one or several URLs - La funcionalidad principal es extraer todos los correos electrΓ³nicos de una o varias Url
Stars: ✭ 81 (+65.31%)
Mutual labels:  email, emails
Postmark Java
Official Java client library for the Postmark HTTP API
Stars: ✭ 18 (-63.27%)
Mutual labels:  email, email-sender
Cuttlefish
Transactional email server with a lovely web interface
Stars: ✭ 985 (+1910.2%)
Mutual labels:  email, email-sender
Drymail
Makes sending emails easy and DRY β€” For Python 3.
Stars: ✭ 218 (+344.9%)
Mutual labels:  email, email-sender
bulk-email-sender
Send Templatized Dynamic Emails Automatically
Stars: ✭ 30 (-38.78%)
Mutual labels:  email, email-sender

Activism Mailbot

In light of recent events, I have created this Python script to send emails to a list of 542 elected US officials.

The script sends a unique message to each lawmaker by varying sentence structures and switching out nouns, verbs, adverbs, and adjectives with synonyms. Each email is constructed to roughly follow the template from nomoreracistcops.github.io. Please report bugs to [email protected]!

This script only works for gmail accounts.

NOTE: there is a per-minute limit on SMTP messages sent via google's servers. to appease our corporate overlords, i've decreased the speed of our operations.

If you're going to use this tool in one of your projects, I'm hoping that you'll have enough self-respect to give credit where it is due. Please do not monetize this script. Thanks!!

Setup

  1. Download the source code

    • Option 1: click the green "Clone or download" button on the upper-right, then "Download ZIP"
      • Then, decompress the files somewhere on your computer
    • Option 2: git clone https://github.com/alandgton/activism-mail-bot.git
      • Requires: a Github account, a terminal, and git installation
  2. Temporarily grant mailbot permission to send emails on your behalf

    • Turn Allow less secure apps to ON for your gmail account.
      • Be aware that this makes it easier for others to gain access to your account.
      • After running the script, you should switch this back OFF.
      • Your name, gmail, and password aren't being stored on a server anywhere, this script is run from your own computer!
    • If you have 2 Factor Authentication enabled on your gmail account:

Running the script

  • Option 1: Use Docker (RECOMMENDED)

    • Shoutout to darrylbalderas for setting this up!

    • Install docker-engine

    • Run the command: ./exec-docker

      • Make sure you're in the activism-mailbot/ or activism-mailbot-master/ directory
        • Use cd activism-mailbot/ or cd ~/activism-mailbot/ or cd /path/to/activism-mailbot/
      • If that doesn't work, then execute the following sequence of commands:
        • docker build -t activism-mailbot .
        • Might need to remove the old container: docker rm -f activism-mailbot
        • docker run --name activism-mailbot -d activism-mailbot
        • docker exec -it $(docker ps -aqf "name=activism-mailbot") /bin/bash
    • Run application: python send.py

  • Option 2: Legacy Method

    • Install python3

    • Mac Users: you can double-click the install-osx-python3 file instead

    • Windows Users: TBD

    • Mac Users: you may need to install certificates for SSL to work

      • ⌘ + space, search for a file named "Install Certificates.command"
      • double-click the resulting file
      • Read more here
    • Run python3 send.py

      • Make sure you are in the activism-mail-bot directory
      • If you aren't, use the command cd activism-mail-bot/

How to use mailbot

  1. Choose which officials you would like to send emails to

    • Enter the number corresponding to the state/city/county of your choice
      • Enter 0 to Select All (current total: 542 recipients)
    • Enter blank (nothing) when finished selecting
    • NOTE: some city councilmembers may ask for your address to confirm that you are their constituent
  2. Enter the subject (title) of your emails.

    • If blank, mailbot will randomly generate a spicy title for you
  3. Would you like to write your own email or have mailbot do it for you?

    • If you want mailbot to write the emails, answer y.
    • Else if you have your own email message, answer n.
      • Mailbot will now read from a .txt file
      • Please write your own email in a .txt file
        • Easiest way: edit the contents of example.txt
        • Tell mailbot the name of your .txt file
        • Example: example.txt
  4. Enter your full name

  5. Enter your gmail

  6. Enter your gmail password

    • i'm not logging this anywhere or anything, feel free to look at my code if you're paranoid

Final Steps

  • Please add more recipients!
  • thank you for your time, we did some good work :^)
  • activism++
  • Please remember to switch Allow less secure apps to OFF.

Footnote

This is a critical time for the rights and freedoms that we cherish as American citizens. Check out this compilation of activism resources and notes (credit: Jemma Kwak)!

Listed below are organizations gladly accepting donations and petitions to sign.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].