redirect before email