'Sends email to person who friend accepted invitation.'

def send_thanks(self):

    template = get_template('phonebook/emails/invite_accepted.txt')
    subject = (_('%s    created    a    Mozillians    profile') % self.redeemer.full_name)
    profile_url = reverse('phonebook:profile_view', kwargs={'username': self.redeemer.user.username})
    message = template.render({'inviter': self.inviter.full_name, 'friend': self.redeemer.full_name, 'profile': absolutify(profile_url)})
    filtered_message = message.replace('&#34;', '"').replace('&#39;', "'")
    send_mail(subject, filtered_message, settings.FROM_NOREPLY, [self.inviter.email])
