Update webapi/{invalidemails, spamreport}

Closes #372