Fix emails; add manage template; start work on migrations.