When she emailed her professor to explain herself, she received an incredible response, and shared it on Twitter