There are community-driven tools like AmazonGiftCardExpress designed to automate the extraction of gift card codes from sources like Gmail and save them into a structured format.
Scammers often pose as managers asking for gift card codes as "employee incentives". Amazon GC.txt
You can view formal write-ups in the Amazon A to Z app under the "MyDocs" section. Amazon GC.txt