Sending Email via API

Is it possible to send email messages using v2.2 of the API? I want to send notifications to Insightly users and also emails to contacts. If there are endpoints for sending email, I don't see them.

Thanks,
-- Art Z.

0

Comments

5 comments
  • Hi Art,


    Thanks for the post. We do not provide an API for sending email, however, Mailgun is a great API to use for this (I use it for many of my personal projects). Sending an email is a simple HTTP POST request, so its pretty much a no-brainer to implement (I have a python function that does this and am happy to send a copy of that code too).

     

    Brian McConnell

    0
    Comment actions Permalink
  • Brian,

    It's good to know that I'm not blind :-) I can send email messages from Python; that's not a problem.

    I can look up the account owner with the API and just need to BCC his mailbox. Will the Insightly mailbox address always be

    FIRST_NAME dash EMAIL_DROPBOX_IDENTIFIER @mailbox.insight.ly

    where the FIRSTNAME is lower case? As long as I can BCC the message to the client into Insightly, i can accomplish the same result. I don't "need" Insightly to send the messages.

    Thanks,
    -- Art Z.

    0
    Comment actions Permalink
  • Hi Art,

    A better option is to use the /projects/{id}/linkemailaddress or /opportunities/{id}/linkemailaddress endpoints to get the drop box for those items.

    For individual user dropboxes, this can vary, so that might be a problem. Let me ask if this is something we can add to the response from the /users API endpoint.

    Best regards,

    Brian McConnell

    0
    Comment actions Permalink
  • Brian,

    I don't have either a project or an opportunity. This is a brand new contact, just created after he fills out a form on a landing page like this: http://content.hens-teeth.net/email-marketing-to-current-customers

    I need to send two email messages:

    • a thank-you email to the contact. this should be logged in Insightly
    • a notification to the Insightly users that the contact has filled out a form. this does not need to be logged

    Actually, I lied. It is probably a new contact. It might be an existing contact which has been updated with new info from the form.

    Cheers,
    -- Art Z.

    0
    Comment actions Permalink
  • Hi Art,

    Yes, you're correct in your assumption that BCC email is:

    FIRST_NAME dash EMAIL_DROPBOX_IDENTIFIER @mailbox.insight.ly

    FIRST_NAME (lowercase) is from your User record. You can get that by calling /Users/Me.

    If you need the email logged to Insightly then you should simply BCC the above email address. Otherwise, leave the BCC field empty and it shouldn't be logged.

    Best,

    Evgeny

    1
    Comment actions Permalink

Please sign in to leave a comment.