How to email alert setting up in docker using shell scripts in crontap,without any 3rd party tools,

I need to setting up email alert, to the docker with help of crontap using shell scripting, doesn’t needed any 3rd party tols like grafana, prometheus, if there any options available there.