added management interface, started async email functions