Add unique=True to NoticeType label
Check if lock can be acquired before sending emails
Change field definition in migration file