code: def event_return(events):
      '''
      Return event data via SMTP
      '''
  
      for event in events:
          ret = event.get('data', False)
  
          if ret:
              returner(retf event_return(events):
      '''
      Return event data via SMTP
      '''
  
      for event in events:
          ret = event.get('data', False)
  
          if ret:
              returner(ret)
docs: Return event data via SMTP