Rails 4: EOFError: end of file reached following any email in DEVELOPMENT only
For those like Aleksey wondering how the problem was solved, he added a valid domain. Went from domain: '@gmail.com'
to domain: "myprojectdomain.com"
For me, setting sender email in my Devise config file fixed the issue.