code: def hash(ctx, message_id, message):
      
      conf = Config(message_id=message_id)
  
      mail = Mail(message, conf)
  
      logger.info(mail.header_text)
      logger.info('-' * 70)
      logger.info('Hash: {}'.format(mail.hash_key))
docs: Take a single mail message and show its canonicalised form and hash.
  
      Mainly used to debug message hashing.