Email results , either failure or success

We have 3 playbooks, that all acheive different tasks when building a server.
Each playbook can have either a role in it or a module from collection.

How can I email result of when either a task fails in any of 3 playbooks ( this is when ansible quits, and I rerun my playbook again) and, email me final result of when the whole build was successful only.

Hope I am making sense.

Thanks

for failures https://docs.ansible.com/ansible/latest/collections/community/general/mail_callback.html

for success https://docs.ansible.com/ansible/latest/collections/community/general/mail_module.html