added mail interceptor for staging