added preprocessor for save HTML messages to database