Slipt the checks for badge image exists vs. badge image PNG
Don't let emails be sent if WPBadger isn't configured
Add some defaults for blank email fields
Missing semicolon
Typo in the checking the issuer name & org
Dangling 'else'