add write mail.xml and menu