imap-send: move #ifdef around