This article gives advice that is not only bad, but dangerous. You should never, under any circumstances store a password in a format that can be reversed. Doing so for the password to someone's primary email address borders on criminal - a comprised email can be used to break almost any other account someone may have.
If there's no other way to build the app, don't build it. It's the only ethical thing to do.
If there's no other way to build the app, don't build it. It's the only ethical thing to do.