Added field to support restrict email setting
Added schemamigration
Changed tasks to make restrict email works