how to send email to all registers