added mail config and form validators