encode mail - fix #5360