Added test email functionality for all emails, still need to be thoroughly tested