encoding, formating letter and from field