newsletter error handling and storage of data