How Can I Block Spam in Email-Based Bug Reports?

I’m developing a bug report system for my game where users can send JSON files via email if HTTP fails. How do I stop automated spam? Example:

for index = 1, 5000 do
  local reportData = generateJSONReport()
  sendReportEmail(reportData)
end

hey, try addin a captcha or honeypot field, this stops bots from spamming. you might also monitor email frequency to catch bursts. hope it helps!

In addition to a captcha or honeypot, implementing rate limiting on your email endpoint has proven effective. Using IP filtering or temporary blocks after a certain number of submissions can reduce spam. I also recommend validating the JSON structure on the server side, rejecting malformed reports quickly. As the bug reports are tied to email, checking if the sender is registered or using a one-time token can ensure legitimate submissions. These measures, when combined, significantly reduce the impact of automated spam.

hey, have u tried using ephemeral tokens for each session? it might help prevent bots from spamming. also consider checking time differences between submissions; could be a neat hiccup for automated reports. what do u think?