Help for this page
if ($res->decoded_content eq 'VERIFIED') { # send email for VERIFIED } else { # send email for INVALID or other response }