def email_split(text):
 if (not text):
  return []
 return [addr[1] for addr in getaddresses([text]) if addr[1] if ('@' in addr[1])]

def email_split ( text ) : if ( not text ) : return [ ] return [ addr [ 1 ] for addr in getaddresses ( [ text ] ) if addr [ 1 ] if ( '@' in addr [ 1 ] ) ]
return a list of the email addresses found in text .