async fn retry_pending_deletions<R: Repository<Send> + ?Sized>( api_client: &ApiClient, repository: &R, pending_deletions: &Setting<Vec<SendId>>, ) -> Result<(), DeleteSendError>