def METHOD_NAME(self, user, period):
    """Send the specified user a warning that the have been deactivated
    due to inactivity"""
    subject = "{prefix}Wagtail account deactivation".format(
        prefix=settings.EMAIL_SUBJECT_PREFIX
    )
    msg = (
        "Hello,\n\n"
        + "Your Wagtail account has not been accessed for more than "
        + "{} days. In accordance with information security policies, "
        + "your account has been deactivated.\n\n"
        + "If you require access to Wagtail in the future and would "
        + "like your account to be reactivated, please contact "
        + "Design & Development at designdev@cfpb.gov and indicate your "
        + "business reason for needing access reinstated.\n\n"
        + "Thank you,\nWagtail system owners"
    )
    user.email_user(subject, msg.format(period))