changed mail method