Testmail's student page says the service is free for students enrolled in the GitHub Student Developer Pack: you get the Essential plan (normally $12/month) for free while you are a student. The GitHub Pack lists it as a free Essential plan while you're a student.
Testmail provides unlimited email addresses and mailboxes and an API for sending and reading mail in automated tests. Testmail's pricing page lists the Essential plan with 10,000 emails per month and full API access.
Testmail states that no credit card is required at signup or redemption. The student plan follows the Essential plan's features and the fair usage policy, is intended for educational use, and Testmail may revoke accounts used commercially beyond a side project or an early-stage student-led startup. Reselling student accounts is forbidden.