Edit Mail configuration in API and WebUI
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1264043
Description of problem:
Almost all settings can be set through the API and the Web UI. The email delivery method and server (email.yaml) cannot be set. This is inconsistent and not inituitive for the user to suddenly have to edit a different configuration file on disk instead of using the API/UI.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure the mail delivery method and server through API
2. Configure the mail delivery method and server through UI
Not possible through API
Not possible through UI
Configuration of mail delivery and server can be set through API
Configuration of mail delivery and server can be set through UI
Fixes #12156 - Adds email configuration into Foreman settings
Instead using email.yaml, the email configuration
can be modified dynamically via settings.