title: Meteor: Accounts.sendVerificationEmail customising behavior
body: <p>Can someone please provide the correct method to send an email verification upon user creation? This is the important part...</p>
  
  <p><strong>a)</strong> I would like the user to have immediate access upon signing up. But if the user has not yet clicked  clicked on the verification link within 48 hours, I would like to deny them logging in until they have clicked on the link.</p>
  
  <p>My code so far sends an email verification but the user has continuos access to the application with or without clicking on the verification link (so my code is of course incomplete).</p>
  
  <p>client.js</p>
  
  <pre><code>Template.join.events({
  'submit #join-form': function(e,t){
   e.preventDefault();
    var firstName=  t.find('#join-firstName').value,
    lastName=  t.find('#join-lastName').value,
    email = t.find('#join-email').value,
    password = t.find('#join-password').value,
    username = firstName.substring(0) + '.' + lastName.substring(0),
    profile = {
      fullname: firstName + ' ' + lastName
    };
    Accounts.createUser({
      email: email,
      username: username,
      password: password,
      userType: // 'reader' or 'publisher'
      createdAt: new Date(),
      profile: profile
   }, function(error) {
  if (error) {
    alert(error);
  } else {
    Router.go('home');
         }
      });
     }
  });
  </code></pre>
  
  <p>server.js</p>
  
  <pre><code>Meteor.startup(function () {
  process.env.MAIL_URL = 'smtp://postmaster.....';
  Accounts.emailTemplates.from = "no-reply@mydomain.com";
  Accounts.emailTemplates.sitename = "My SIte Name";
  
  Accounts.emailTemplates.verifyEmail.subject = function(user) {
    return 'Please confirm tour Email address' ;
  },
  Accounts.emailTemplates.verifyEmail.text = function(user, url) {
    return 'Click on the link below to verify your address: ' + url;
  }
  Accounts.config({
    sendVerificationEmail: true
  });
  </code></pre>
  
  <p>My attempt have been made through own readings on meteor docs and looking at other code on SO. I am stuck guys. Thanks for the support. </p>