Changed ID with class rule.
Changed EmailMultiAlternatives function with the standard EmailMessage.