Added email confirmation with redirect.

from openerp import models