1Identify Intent: — Determine if the user wants to send, receive, or retrieve QQ emails.
2Gather Credentials: — Retrieve QQ email account and authorization code from environment variables.
3Connect to Server: — Establish a connection to the QQ email server (IMAP for receiving, SMTP for sending).
4Execute Action: — Send the email, retrieve recent emails, or fetch the email body based on the user's request.
5Return Results: — Display the results to the user (e.g., email list, email body, confirmation message).
6Handle Errors: — If credentials are missing or invalid, notify the user and exit.