Where is delta chat local sent message data?

delta chat seems to keep a local copy of sent messages. where are they stored? (database? electron local storage? plain text file?)

for example, if 'send copy to self" wasn’t working for me, where would I find the data needed to migrate over the sent messages to email?

thanks

all messages, also sent messages, are in the “msgs” table of the sqlite database. If using Linux you might find it in “$HOME/.config/DeltaChat/accounts/**” somewhere.