add send letter function, not finish yet