use flask-mail is a good tool and try is code I use to render the template to render Html as the body of my mail.
from flask_mail import Message
from flask import render_template
MAIL_USERNAME = os.environ.get('MAIL_USERNAME')
MAIL_PASSWORD = os.environ.get('MAIL_PASSWORD'
def send_mail_flask(to,subject,template,**kwargs):
msg = Message(subject=subject,sender='email@ofTheSender.com', recipients=to)
msg.body = render_template(template+'.txt', **kwargs)
msg.html = render_template(template+'.html', **kwargs)
mail.send(msg)
the template is the path to your HTML you need to send you can also add a text version of the mail!
you may need to add more environment variables according to the SMTP service you use.