fix email static file url (should set external=true)