Fixes mail configuration getter