mail fucntions from admin