local mail store in sqlite with http server