Preencode mail data properly