How to send mail or whatsapp message in mblock?


In an application I made, I want to notify my users via WhatsApp or e-mail. I can do this via phyton, but I cannot add the relevant libraries to the mblock pyton part. I want to forward the data I receive from machine learning to the user via whatsapp or mail. How can I do it?