Skip to content
← Back to Community
My Reminder Bot
Profile icon
VulcanWM

This is a reminder bot. In the amount of seconds you say, it sends you an email. Only people with gmail can use this. When it asks your email and password, you need to enter your gmail info. To use this, you have to switch on the Less Secure Apps settings in your gmail.

Voters
Profile icon
shivang1
Profile icon
JAGRIFF
Profile icon
MORGANISTHEBEST
Profile icon
Nettakrim
Profile icon
adesaitcscary
Profile icon
CodingGoose
Profile icon
Gaganjit1234
Profile icon
SelenaYang1
Profile icon
viraatvv
Profile icon
mkhoi
Comments
hotnewtop
Profile icon
Chimmy210

Can't u hack our email if we put in a email password!

Profile icon
VulcanWM

No, the password or email doesn't save or anything. Completely safe @Chimmy210

Profile icon
Chimmy210

ohhh

Profile icon
VulcanWM

Look at the code @Chimmy210

Profile icon
VulcanWM
Profile icon
studentAlfredAl

That's what all the hackers say lmao @VulcanWM

Profile icon
VulcanWM
Profile icon
studentAlfredAl

XD it's just a joke lol @VulcanWM

Profile icon
VulcanWM
Profile icon
studentAlfredAl
Profile icon
DynamicSquid

It's cool and all, but I ain't putting in my email info lol

Profile icon
VulcanWM

Ok. Your choice @DynamicSquid

Profile icon
studentAlfredAl
Profile icon
Nettakrim

@DynamicSquid @studentAlfredAl i made a fork where you dont have to put in your password (obviously it still needs your email) https://repl.it/@Nettakrim/Reminder-bot

Profile icon
ironblockhd

@DynamicSquid create a throwaway mail account, use this trick to create a gmail account without a phone number and use a computer generated password :D

Profile icon
VulcanWM

You can actually store your password in a .env file. @Nettakrim

Profile icon
Nettakrim

@VulcanWM i can, but i couldn't be bothered to figure it out lol

Profile icon
VulcanWM

you realise it's way easier. You just need to store the email password in the .env file in the format below.
MAILPASS=THEREALPASSWORD
and then in your main file do the code below.

import os mailpass = os.getenv("MAILPASS")

@Nettakrim

Profile icon
Nettakrim

wouldnt it be better if you made it send an email with your account (prob a throwaway one anyway) that would be stored in environment variables?
then you just need to input [email protected] and not your password

Profile icon
VulcanWM
Profile icon
Nettakrim

@VulcanWM well why does it need the password

Profile icon
VulcanWM

So it can login to your email. You send an email to yourself for the reminder @Nettakrim

Profile icon
Nettakrim

@VulcanWM so why dont you do this

username = input("Email: (It has to be a gmail for this to work)\n") reminder = "[email protected]" password = #<stored in env variables so its hidden> gmail_server = smtplib.SMTP('smtp.gmail.com', 587) gmail_server.starttls(context=context) gmail_server.login(reminder, password) message["From"] = reminder message["To"] = username
gmail_server.sendmail(reminder, username, message.as_string()) #assuming first username there was "from" and second "to"

so that instead of your own account sending something, the reminder account sends it, and the gmail server thing logs in as the reminder, not the user but it sends to the user

Profile icon
Nettakrim

+also you would only need to enable less secure apps on the [email protected] account

Profile icon
VulcanWM

Nah man, I don't bother doing that @Nettakrim

Profile icon
Nettakrim
Profile icon
Nettakrim

@VulcanWM also you dont have to have use gmail

Profile icon
VulcanWM

For this program you do @Nettakrim

Profile icon
Nettakrim

@VulcanWM for mine*
didnt clarify

Profile icon
VulcanWM
Profile icon
ironblockhd

@Nettakrim nice! Done the same a few months ago in node: http://mail.ironblockhd.repl.co

Profile icon
OldWizard209
Profile icon
VulcanWM
Profile icon
toivocat

it dont work it always says that there is wrong email or password when all is correct

Profile icon
VulcanWM

yeah that’s because the password doesn’t work now
@toivocat

Profile icon
toivocat

then how do i get it to work?
@VulcanWM

Profile icon
VulcanWM

you cant @toivocat

Profile icon
nahu1

it wont let me type the password

Profile icon
VulcanWM

I used getkey, so the password is being typed, but you can't see it @nahu

Profile icon
nahu1
Profile icon
HussainAli3

Evaluation
No

Profile icon
VulcanWM

Umm.. I don't get you @HussainAli3

Profile icon
HussainAli3

No

Profile icon
VulcanWM

What do you mean no? @HussainAli3

Profile icon
MORGANISTHEBEST

I am not going to put my info in here.

Profile icon
VulcanWM

Ok. Your choice. @MORGANISTHEBEST

Profile icon
MORGANISTHEBEST

But the code's nice @VulcanWM

Profile icon
VulcanWM
Profile icon
MORGANISTHEBEST
Profile icon
suryan1234

Excellent,really helpful

Profile icon
VulcanWM
Profile icon
whackdab

WHY DO I NEED TO ENTER MY PASSWORD?! I mean, even if it doesn't save, why????

Profile icon
whackdab

and, i cant even type the passwords @VulcanWM

Profile icon
VulcanWM

This is a reminder bot that sends an email to you when you tell it to. You need your email and password to log in so you can send the email. @whackdab

Profile icon
VulcanWM

I used getpass so you can 't see the password. Don't worry, the password is being typed. @whackdab

Profile icon
whackdab

i know, but like... that feeling isnt right. cool tho! Great [email protected]

Profile icon
VulcanWM
Profile icon
Cookiezz

Hmm... Seems cool not putting my password though lol

Profile icon
VulcanWM

I used getpass so you can 't see the password. Don't worry, the password is being typed. @Cookiezz

Profile icon
Bookie0
Profile icon
VulcanWM

That’s why I said to turn on the settings. It happened to me when I tried to first send an email using this repl @Bookie0

Profile icon
athenaluo

@VulcanWM then who tried to get into @Bookie0 account?

Profile icon
Bookie0

but how to turn them on? please put tutorial @VulcanWM

Profile icon
Bookie0

me. google sense i went signed in lol @athenaluo

Profile icon
athenaluo

@Bookie0 oh ok xD

Profile icon
whackdab
Profile icon
VulcanWM

There is a setting. Less Secure Apps, turn it on @Bookie0

Profile icon
Bookie0

where? i've tried looking everywhere but i dont find it lol. Just include a small tutorial @VulcanWM

Profile icon
VulcanWM

Ok. It took me some time to find it myself to be honest. @Bookie0

Profile icon
Bookie0

lol but nvm my email thingy doesnt work (something with G suite) thx for ur help ;) @VulcanWM

Profile icon
Bookie0

you should include a short tutorial for how to switch on the Less Secure Apps settings in your gmail. Also maybe make it a bit more precise for the time; like for 4:30pm, do we write 430, or 4:30, or 16:30, etc. because i was a little confused

ALso im not sure if its a bug, but for some reason i cant type my password. Like i can type all the previous info, but for the password nothing...

Screen Shot 2020-07-14 at 4.25.46 PM

Profile icon
VulcanWM

I’m using get pass, so the password is being typed, but you can’t see it. I just added it for extra security @Bookie0

Profile icon
VulcanWM

But I might do a tutorial @Bookie0

Profile icon
Bookie0

ohhhhh ok @VulcanWM

Profile icon
VulcanWM

And I’ll change it to 24 hour clock @Bookie0

Profile icon
Bookie0
Profile icon
Bookie0

ok, but do we have to write for 4pm: 16 or 16:00 or ect.? @VulcanWM

Profile icon
VulcanWM

16:00, the time is whatever you like, it just mentions it in the email @Bookie0

Profile icon
Bookie0
Profile icon
zplusfour

cool

Profile icon
VulcanWM

Thanks @ZDev1

Profile icon
zplusfour
Profile icon
Gaganjit1234

Cool!

Profile icon
VulcanWM

Thanks. If you liked it, upvote. * This isn’t begging right? *@Gaganjit1234

Profile icon
[deleted]

@VulcanWM Nope, not begging :)

Profile icon
VulcanWM

Great :) @eekboi

Profile icon
frostedbutton75

Wow!

Profile icon
VulcanWM
Profile icon
frostedbutton75
Profile icon
VulcanWM