User Tools

Site Tools


curl:check_gmail

Curl - Check gmail

Check your gmail from Linux command line.

Using curl, you are able to read each of your unread emails (subject and who it's from) in your command line.

NOTE: Change the username to your username, use your full email if you are a google apps user.

curl -u username --silent "https://mail.google.com/mail/feed/atom" | perl -ne 'print "\t" if /<name>/; print "$2\n" if /<(title|name)>(.*)<\/\1>/;'
curl/check_gmail.txt · Last modified: 2020/09/25 12:56 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki