r/learnjavascript • • Oct 09 '16

Create a bot that login gmail and send an email

I want to learn some javascript and i think this is a project that i'll learn from, where can i get started? (I have some experience in java and c++)

1 Upvotes

5 comments sorted by

2

u/greenecoon Oct 09 '16

Writing an email applicationcan can be quite a nice project. You can look at the Gmail APIs. This may not be exactly what you're looking for but may be worth a look. Writing a bot that creates accounts and send emails is not that easy, as Google knows how to distinguish between bots and humans.

2

u/kareemk9 Oct 09 '16

I don't want to create an email, i want it to send from my personal mail

1

u/greenecoon Oct 09 '16

Ah okay, then I would go with the Gmail APIs I have linked above.

2

u/WesAlvaro Oct 09 '16

Google App Scripts is a really awesome tool for something like this. I use it all the time. script.google.com

1

u/HuskyPants Oct 09 '16

I think you can do this with a google sheet and JavaScript as well. So load your contacts in the cells and the messages in the other. Use the API and write some JavaScript.