def _create_tracker_for_email(): """Creates a Tracker to be used with a new email message.""" fmt = app_settings.EMAIL_TRACKER_NAMEFORMAT u = Tracker(name=fmt.format(_create_uuid())) u.save() return u