Serag's implementation of Devise's mail server