added test mail and optimised conf