An insurance broker who was jailed for five months after being convicted of posting a menacing message about Northern Ireland’s first elected black mayor is now contrite and apologetic, an appeal hearing has been told.