please use delayed job for sending emails.. and remember not to call deliver when using delayed job (for some unknown dumb reason)
InvitePeopleMailer.delay.welcome(@group)