Replying to a ticket thread from Gmail is currently not possible.
The reply separator tag issue has been posted several times. The thing is that the mail client, e.g. Outlook, Gmail, etc. always adds line(s) above the answer/reply separator tag and since osTicket cuts everything below the separator tag, these mail client specific lines like "On August 29, xyz wrote" will always appear at the ticket thread.