Remove hard urls from mail templates (temporal solution)
Move common stuff to app utils