Use basehttp server so not to serve files.

Also send one email per user / push with counts instead of one per
file.