Send data to an external database

I have a quick question. I want to become automatic email notifications over me weekly usage. Is it possible to automatically send the weekly data to an database server like mysql and send the mail with an script?
I Hope anyone can me help with this

Did you know what aw logs everything into a sqlite database. I was able to use my favorite db admin tool DBeaver Community to look inside and see what was there. So since your data is already in a database you just need to get the email working.

If you are running on linux you can write a python and hook it up to a cron job to send those emails. Otherwise I do not think aw has a jobs feature

I also figured out how to load aw events into pandas inside python which is one step away from being converted to sql pandas.DataFrame.to_sql.