Is it alright to thank my Master's thesis advisor, via e-mail, for getting a good grade?
Instead of thanking her for your grade, I would thank her for the time and energy they spent with you during your thesis, as well as what she has taught you. You earned your grade, she did not hand it to you.