hex rails encoding for email