Add configuration and interfaces for mail submission and generation.