Check your GMAIL inbox for new emails with Bash script -

In case you wish to automate your things with your gmail email. Here is a simple script on how to access your gmail account with bash script. Before you run the script make sure that curl command is available on your system as this script depends on it.
This is a companion discussion topic for the original entry at



That’s not going to work


Nathan Bendich

Will this show my entire inbox? I would like to grep through my Gmail. Thanks!



could u provide blog post on how you managed to create the app("") as i am looking for same and want to know how this works. Thanks awaiting for reply


UbuntuNoob is this ur service u are hosting?


UbuntuExpert -> UbuntuNoob

no, it’s google’s. lmao