Added regex check for $from address in com_mailer for sendgridit function