only include mailin right before use
otherwise it'll start logging warnings before we can configure it
add stub of http server