Again, took this from the IMAP send email test case. Didn't check the bug in the comment. Will keep that in mind for the future.