only master process send mail