worked on accept trade section
added a function to check mail format