A Massachusetts man has been jailed for sending an email invitation to his ex-girlfriend to join Google+, despite a restraining order against him.

Police arrested Thomas Gagnon after his ex-girlfriend complained against him for violating the restraining order by sending her the email, ABC News reports.

Gagnon was jailed, but then released on 500 dollars bail, the report added.

However, Gagnon denied of sending any such invitation, and claimed that Google did it without his knowledge or consent.