Updated imap example.