Use url_for for model url construction.
Add email template and email signal on model commit.