E-mail and social media spam

We were all bored during COVID, and that’s when I came up with this idea. I wanted to create a simple way to spam people without requiring complex authentication requests or anything similar. That’s how I discovered PyAutoGUI, a Python library that controls the mouse and keyboard. All you need to do is write the message you want to send in a text file, launch the script, position your cursor where you want the text to appear, and let it run.

For emails, it was different. Most of the emails sent were forwarded to spam, so I had to come up with a solution. This part required authentication. I used SMTP servers to automatically send a predefined number of emails. These emails had randomized subjects, body structures, and even time intervals between them to reduce the likelihood of being flagged as spam.

Unfortunately, this part of the project no longer works because Gmail now enforces two-factor authentication. While it’s possible to make it functional with slight code modifications, I haven’t done so because COVID is over, and I no longer have a reason to spam anyone.