using my own class to fetch mails
using my own class to fetch mails