How do you develop and test email worker with wrangler?

like I got it running the problem is I didnt find a way of simulating email while in wrangler

I need to simulate an sent email with attachments

so the debug process is ■■■■ needing to publish the worker, send real email and hope the error in the Real-time Logs will be helpful enough but it does not sound right to develop like this