Add framework for specifying smtp server.