homework project - email for send and recieve