In 2021, I spent a weekend writing a Python script to generate and read from disposable email addresses. Here is the anatomy of that script, the challenges of 2021 specifically, and why you probably shouldn't use this for evil.
A script written in 2021 is not the same as a script from 2015. Here is the feature checklist that defined the year: temp mail script 2021