Remapping Mac Mail keyboard shortcuts with BTT

I celebrated too soon.

It breaks Alfred. When the Alfred prompt is triggered (which I do a hundred times a day) BTT doesn't 'see' it as a change of the front most window. This means that any keys allocated to shortcuts (e.g. 'e' in this case) become non-functional when Alfred is triggered when Mail is the front-most app.