intercept emails in development