Don't have Telegram yet? Try it now!
http://blog.amit-agarwal.co.in/2014/03/11/fetchmail-mails-imap-account/
fetchmail to get the mails from your imap account