Check group instead of mailbox.

see #630