1. Mary is Thomas' maid.

2. Mary is thomas's maid.
============
Which one is right?

If Thomas is capitalized, 2 is better. However, some grammarians prefer number 1. The key to me is how we pronounce this phrase. Most of us would use 2.

http://grammar.ccc.commnet.edu/grammar/possessives.htm