async fn resend_linking_mail<R: InteractiveStudyRegistry>(
pool: &PgPool,
registry: &R,
course_id: Uuid,
student_number: &SecretString,
rate_cap_override: Option<&RateCapOverride<'_>>,
) -> CreditRegistrationResult<ResendAttempt>Expand description
Claims a linking mail for the one person on the course’s roster with this student number.
The override retires the capped mails only once the registry has named an address to mail, in the claim’s transaction, so a lookup that decides nothing leaves the caps in place.