* Send event on account unlink * Move unlink to its own module
* Refactor coupon management and send proper events * Refactor coupon management and send proper events * Add missing case * Updated with comments * Use model table names * renamed tablename to table * Use sqlalchemy