cleaned up email template, error handling
cleanup
make callback canonnical