code: def message_options(self):
          
          o = {}
          options = self.options
          for key in self._default_message_options:
              if key in options:
                  o[key] = options[key]
          return o
docs: Convert config namespace to emails.Message namespace