add ssh controlmaster stuff to imap/smtp post