Added a configuration option to prevent deletion of messages 

Added a configuration option to prevent messages from getting deleted from the server after
retrieval