changed configurations to allow email sending