$email->beforeSend() Returns the beforeSend callback closure, which has access to the PHPMailer instance kirby/src/Email/Email.php#L114 $email->beforeSend(): Closure|null Return type Closure|null Parent class Kirby\Email\Email