Embedded database now works.
Saving of message to database now works.