form views and mail setup