input: Write a python function to send an email using SMTP and TLS.
  assert send_email("Your Email", "Your Password", "SenderMail", "ReceiverMail", "Segment your emails according to their purpose.") == "Email sent successfully"
  assert send_email("wrong_email", "Your Password", "SenderMail", "ReceiverMail", "Segment your emails according to their purpose.") == "Failed to send email"
  assert send_email("Your Email", "Your Password", "SenderMail", "invalid_receiver_email", "Segment your emails according to their purpose.") == "Failed to send email"
output: def send_email(user_email, user_password, sender_email, receiver_email, email_body):
      import smtplib
      from email.mime.text import MIMEText
      from email.mime.multipart import MIMEMultipart
  
      msg = MIMEMultipart()
      msg['From'] = sender_email
      msg['To'] = receiver_email
      msg['Subject'] = "Subject"
  
      msg.attach(MIMEText(email_body, 'plain'))
  
      try:
          server = smtplib.SMTP('smtp.gmail.com', 587)
          server.starttls()
          server.login(user_email, user_password)
          text = msg.as_string()
          server.sendmail(sender_email, receiver_email, text)
          server.quit()
          return "Email sent successfully"
      except Exception as e:
          return "Failed to send email"