Ansible playbook to check whether "retrieve the information of an email subject"

Hello Team,
I was trying to explore something on email notifications, where I am able to send emails successfully, and also able to retrieve mail successfull messages by using the debug module. another thing i would like to know , is there any way that we can retrieve the “email subject” alone for the delivered email?

for example : in the below playbook , I have the subject line for the email as “OS Patch report” . I need to retrieve this info alone for the email which I sent to check and verify .
After searching I got some module called “read_mail” but it looks like there is no ansible module present, and it did not work for me .

appreciate your ideas on this.

Hello Team,
grateful for any inputs/suggestions for my rail mail query…:slight_smile: