change order of args of mail