added timeouts to email and newsletter as after a few days there are a few open connections still