added function to send email to all registered users. Just needs a nice email template now