Write scriptable email rules using plain olde JavaScript.
(email) => reject(email.to.match(/^spam(.*)/))It's that easy.