Overview
Thegetmail command retrieves the email address that a user used during the verification process. This is useful for administrative purposes when you need to verify a user’s registration details.
Command Signature
Parameters
The Discord user whose email address you want to retrieve
Permissions Required
- MANAGE_GUILD (Manage Server permission)
- Command responses are ephemeral (only visible to the command executor)
Usage Examples
Retrieve a user’s email
Implementation Details
This command queries theverified_users database table to retrieve the email address associated with a user’s Discord ID.
Source reference: src/commands/administration.rs:41-70
Database Query
The command executes the following SQL query:Privacy Note
Since this command reveals personally identifiable information (email addresses), it:- Requires elevated permissions (MANAGE_GUILD)
- Sends responses ephemerally (only visible to the command executor)
- Should only be used when administratively necessary