my teacher told me that this is a wrong format of email.
the correct one as follows
date time
from :
to:
subject;
salutation ,
body
complementary close
There are different formats for writing E-mail in all the schools. The format provided by us is also correct. But, we would suggest you to follow the format that has been prescribed by your teacher in school.
All the best!!