fix mail interceptor, add autoload path