Doing this with IMAP instead of Atom feed