def get_email_context(self,**kwargs):
includeName = kwargs.pop('<STR_LIT>',True)<EOL>context = super(EventRegistration,self).get_email_context(**kwargs)<EOL>context.update({<EOL>'<STR_LIT:title>': self.event.name,<EOL>'<STR_LIT:start>': self.event.firstOccurrenceTime,<EOL>'<STR_LIT:end>': self.event.lastOccurrenceTime,<EOL>})<EOL>if includeName:<EOL><INDENT>context.update({<EOL>'<STR_LIT>': self.registration.customer.first_name,<EOL>'<STR_LIT>': self.registration.customer.last_name,<EOL>})<EOL><DEDENT>return context<EOL>
Overrides EmailRecipientMixin