Add Rails example, correct Mail code

Add Rails example, correct Mail code, switch to example.com domain