Cloudflare Email Workers returning error response no matter what

For Workers & Pages, what is the name of the domain?

test-cloudflare-workers.ktrain5169.workers.dev

What is the error message?

Email Trigger not available to this workers

What is the issue or error you’re encountering

Attempting to send an email results in the email being dropped, simulating an email via the code editor gives the above message.

What steps have you taken to resolve the issue?

I genuinely don’t really know how to even begin trying to resolve the issue. I’m very new to using Workers as a whole and I couldn’t find anything searching around.

What are the steps to reproduce the issue?

  1. Create a Worker with a sample script to process emails.
  2. Set an email address to send to a Worker.
  3. Attempt to simulate/send an email to the address.
  4. Observe the email failing. If simulating, the error above will be shown in console.

Screenshot of the error

Hello,

You may be interested in checking out the Workers team on Discord. More information can be found at Meet The Workers Team Over Discord with an invite link at Cloudflare Developers.