Updating do not email functionality
Adding unit tests for backend functions