Automate parsing of links in Gmail messages through IMAP along with flagging for deletion