added mail config in test env