improve waiting for mailserver in sendMessage tests