fixed email complaint tests
wip on httpdb api