How to test emailEvent worker locally?

Hi,

I am new to Cloudlfare worker development.

I am not sure how to create an [email event](https://developers.cloudflare.com/workers/runtime-apis/email-event/) locally for testing my code. The documentation seems not having the information I need.

Thanks in advance!