Add option to keep sent messages in the database