require ["fileinto", "envelope"];

if envelope :is "from" "${user}" {
  fileinto "Sent";
}