Changing location of mail function