Change smtp to use drop folder and fix keg empty stack overflow