Прочитайте электронное письмо с PHP

//docs
https://www.php.net/manual/en/book.imap.php

https://garrettstjohn.com/articles/reading-email-php/
Embarrassed Elephant