I have a server that has Anaconda installed which comes with Flask. I am setting up a webapp where users in our company can upload a file for analysis and have the results e-mailed to them. This is all done through our internal network. However, I am not allowed to install Flask extensions (i.e., flask-mail, flask-wtf, etc) and all Google searches for "send mail flask" results in using "flask-mail".
How can I send emails (with a file attachment of the analysis results) using a flask server but without requiring additional extensions?