I have running Azure function App(in python language), for business requirements need to send emails from function app.
for that, I wrote a python function
I would suggest you to use some 3rd party email service such as SendGrid/Twillio You can add SendGrid output binding to you Python Azure Function. The binding in function.json would look something like here
Here is an example