Net::IMAP buffer writes