def METHOD_NAME(self, result, to, cc, subject, nattachs):
    logger.info(
        "Mail sent OK: To=%(mailto)s Cc=%(mailcc)s "
        'Subject="%(mailsubject)s" Attachs=%(mailattachs)d',
        {
            "mailto": to,
            "mailcc": cc,
            "mailsubject": subject,
            "mailattachs": nattachs,
        },
    )