mail function and front end devs