Added regex to properly pull needed information from the emails.