If it reliably happens only when you open Mail, it may help to back up your SSD and do a clean install of the OS. Either something is corrupted, which would hopefully be fixed with a clean install, or you have a conflict with some other program, which would be discovered if you don't immediately add back unusual software you may be running. It doesn't seem likely to be a hardware issue of only Mail triggers it, assuming you're also running other normal stuff.
It's possible that Sierra isn't working as well on older machines too, in which case moving back to an older OS might work. But you're the only one I've seen with this particular complaint.