the signed-in user's role key.
Optionalemail?: string | nullSigned-in e-mail: named in the "on its way" confirmation.
OptionalonOpenTeamExport?: () => voidOptionalorganisationName?: string | nullOptionaluserId?: string | nullSigned-in user id: keys the remembered "last export" line.
"Download my data" rows inside YourDataSection, driven by
downloadMyDataMode: a team export row (portal drawer, or a link out to the portal from the app) and/or a self export sheet that asks the backend to e-mail the user their own data. When the backend turns out not to support self export, the self row becomes "Ask your coach for an export" (athletes) or disappears (coaches).