add example imap code