Meteor.methods({
  sendEmail: function (email) {
    //Check to make sure fields are strings
    check([email.to, email.from, email.subject, email.text], [String]);

    // Let other method calls from the same client start running,
    // without waiting for the email sending to complete.
    this.unblock();
    if (Meteor.isServer) {
      //Send email
      try {
        Email.send({
          to: email.to,
          from: email.from,
          subject: email.subject,
          text: email.text,
        });
        console.log("email sent");
      }
      // Catch any errors
      catch(err) {
        console.log("Error: ", err);
        Meteor.call('addErrorLog', {
          tag: 'sendEmail',
          message: err.message
        });
      }
    }
  }
});
@@ -10,16 +10,70 @@
 thods(%7B%0A
+  // TODO use callback to pass error/result to client%0A
   sendEm
@@ -92,24 +92,24 @@
 n (email) %7B%0A
-
     //Check 
@@ -365,33 +365,9 @@
     
-if (Meteor.isServer) %7B%0A  
+%0A
     
@@ -387,18 +387,14 @@
     
-  
 try %7B%0A
-  
     
@@ -416,18 +416,16 @@
         
-  
 to: emai
@@ -430,18 +430,16 @@
 ail.to,%0A
-  
         
@@ -464,18 +464,16 @@
         
-  
 subject:
@@ -488,18 +488,16 @@
 ubject,%0A
-  
         
@@ -516,32 +516,28 @@
 text,%0A      
-  
 %7D);%0A
-  
       consol
@@ -561,22 +561,18 @@
 %22);%0A    
-  %7D%0A  
+%7D%0A
     // C
@@ -591,18 +591,16 @@
 ors%0A    
-  
 catch(er
@@ -604,18 +604,16 @@
 (err) %7B%0A
-  
       co
@@ -645,18 +645,16 @@
 ;%0A      
-  
 Meteor.c
@@ -674,18 +674,16 @@
 Log', %7B%0A
-  
         
@@ -708,18 +708,16 @@
         
-  
 message:
@@ -729,18 +729,16 @@
 message%0A
-  
       %7D)
@@ -743,16 +743,8 @@
 %7D);%0A
-      %7D%0A
     
@@ -749,11 +749,12 @@
   %7D%0A  %7D%0A
-
 %7D);
+%0A

Simplify email method