Change mail sending proccess