implemented sending. using it to test the mail notifs