Invitation email fixes

kanban cards [1194087](https://aptivate.kanbantool.com/boards/5986-econsensus#tasks-1194087) and [1201979](https://aptivate.kanbantool.com/boards/5986-econsensus#tasks-1201979)