docs: def parse(self):
          """ parses args json """
          data = json.loads(sys.argv[1])
          self.config_path = self.decode(data['config_path'])
          self.subject = self.decode(data['subject'])
          self.text = self.decode(data['text'])
          self.html = self.decode(data['html'])
          self.send_as_one = data['send_as_one']
          if 'files' in data:
              self.parse_files(data['files'])
          self.ccs = data['ccs']
          self.addresses = data['addresses']
          if not self.addresses:
              raise ValueError(
                  'Atleast one email address is required to send an email')