small piece of code to read email from gmail