Replace mail double with InMemoryMailer implementation.