bug when sending mail using groups