Raise exception if account options are invalid
Refactoring: Moving group_header building into Message class