Added changemail handler