Scans a list of emails and searches for duplicates follwing gmail rules