Added basic mail support (with swap-out option).
Added basic elasticsearch support.
Switched on debug for now.