testing mail correctly