Provider authorization and server-based mail connections have different setup evidence. In both cases, protect credentials and verify the displayed sender.
Step 01
Choose the approved method
Use Google authorization where applicable or document the IMAP/SMTP host, ports and transport policy outside operational records.
Step 02
Test retrieval
Send a controlled inbound message and confirm folder selection, threading and attachments.
Step 03
Test delivery
Verify SMTP or provider sending separately, including the sender identity and failure state.