Implemented gemfiles for handling emails in both environments