updated code to verify gmail email content