Return correct variable, RE: #7

Merge @siimsoni's patch for the `sendMail` function.