Commit 5a72bc4f86f79857e47568de1bf51ce16499c9c1 broke emails for expiring vouchers and badge emails, this fixes it. Sorry