def _make_mail(self, complete=True):
mail = {}<EOL>keys = get_mail_keys(self.message, complete)<EOL>for i in keys:<EOL><INDENT>log.debug("<STR_LIT>".format(i))<EOL>value = getattr(self, i)<EOL>if value:<EOL><INDENT>mail[i] = value<EOL><DEDENT><DEDENT>mail["<STR_LIT>"] = self.has_defects<EOL>if self.has_defects:<EOL><INDENT>mail["<STR_LIT>"] = self.defects<EOL>mail["<STR_LIT>"] = list(self.defects_categories)<EOL><DEDENT>return mail<EOL>
This method assigns the right values to all tokens of email.
Returns a parsed object

Keyword Arguments:
    complete {bool} -- If True returns all mails parts
                        (default: {True})

Returns:
    dict -- Parsed email object