You can debug this issue by splitting the implementation into chunks.
1. Check Email Account:
Verify if you have a valid SMTP connection to send Outbound emails. Do a test connectivity and ensure the connection to email server is success. If it isnt success, then you need to verify if there is any firewall restrictions to use the given SMTP Host. Get it enabled
2. Send an Email:
For testing purpose, Create a wrapper activity and define the Correspondence information and call the OOTB SendSimpleEmail activity to trigger an outbound email. Trace it. Add steps to print more info in logs (before and after sending email)
SendCorr OOTB activity will be called which will queue this email in Pega-ProCom's SendCorr Agent for outbound processing. Trace this agent.
3. Receive Email:
Ensure the email is not moved to receiver's Junk folder due to default Id marked while sending it. (Prefer opensource email id like gmail for testing)
4. Verify DB Tables:
If you are calling this activity from your work object, ensure you audit and track it from DB tables associated with LINK-ATTACHMENT, DATA-WORK-ATTACH by checking Data-Corr-Email as a class reference.