Fetch configuration into the hook_mail_alter