fbpx

How to Setup Calibre with Gmail [Step-By-Step Guide]

Discover how to integrate Calibre with your Gmail account.

(Step-by-step.)

Note: Make sure you’ve enabled 2 step verification for your Gmail account before creating a Gmail app. If you don’t know, here is the guide to do that

Step #1: Create a Google App

You need to generate a Google app password in order to create integration between Calibre and Gmail. Here is how to do that;

Here is the official guide from google to generate an app password but here are the basics:

1. Go to Google Account > Security > 2-Step Verification > select App Passwords

Now, You may be asked to enter your account password. After that,

2. Select the app you want to generate a password for (for this case “Mail”)

creating google app password

3. Select the device you’re operating your Calibre software on. For me, It’s Windows

3. Click “Generate”

4. Copy the generated password and paste it into the notepad for something for the next step

Step #2: Configure Calibre with your Gmail account

1. Open Calibre, go to “Preferences”

2. Under “Sharing” > Click on “Sharing books by email”

3. Over here enter your Kindle email address if haven’t done

screenshot of calibre email integration page

4. Enter your email, and add email server details as shown below

Host Name: smtp.gmail.com
Port: 587
Username: Your Gmail Address
Password: App Password 
Encryption: TLS

You can click the test email button to check if everything is working. If you get an error, make sure to check your app password and 2-step verification settings.

5. Click on Apply button

That’s it! Now you can start emailing books from Calibre to your Kindle.

Let me know If you face any difficulty in the comments section below. Hope it helps 🙂


About Author

I'm Shehraj Singh, I started the eReader.blog to help people learn more about eReader specifically Amazon Kindle, and help them fix any issues they may have.

I have a lot of experience with Kindle, and I want to share my knowledge with you so that you can make the most out of your device.

22 thoughts on “How to Setup Calibre with Gmail [Step-By-Step Guide]”

  1. thank you so so so much !!!!! ive been struggling to send through my gmail acc n was ab 2 give up calibre but this solved my problem 💌💌

    Reply
  2. Thanks this was super helpful. I think things may have changed slightly though since you wrote this guide. The path is now Security/2-Step Verification/App Passwords

    Reply
  3. Hello, im having problems as shown below:
    Traceback (most recent call last):
    File “calibre\gui2\wizard\send_email.py”, line 223, in test_email_settings
    File “calibre\utils\smtp.py”, line 180, in sendmail
    File “smtplib.py”, line 750, in login
    File “smtplib.py”, line 739, in login
    File “smtplib.py”, line 662, in auth
    smtplib.SMTPAuthenticationError: (534, b’5.7.9 Application-specific password required. Learn more at\n5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor j7-20020a9d7d87000000b006a973ec4660sm4918651otn.78 – gsmtp’)

    Log:
    connect: to (‘smtp.gmail.com’, 587) None
    reply: b’220 smtp.gmail.com ESMTP j7-20020a9d7d87000000b006a973ec4660sm4918651otn.78 – gsmtp\r\n’
    reply: retcode (220); Msg: b’smtp.gmail.com ESMTP j7-20020a9d7d87000000b006a973ec4660sm4918651otn.78 – gsmtp’
    connect: b’smtp.gmail.com ESMTP j7-20020a9d7d87000000b006a973ec4660sm4918651otn.78 – gsmtp’
    send: ‘ehlo [192.168.0.106]\r\n’
    reply: b’250-smtp.gmail.com at your service, [191.37.24.161]\r\n’
    reply: b’250-SIZE 35882577\r\n’
    reply: b’250-8BITMIME\r\n’
    reply: b’250-STARTTLS\r\n’
    reply: b’250-ENHANCEDSTATUSCODES\r\n’
    reply: b’250-PIPELINING\r\n’
    reply: b’250-CHUNKING\r\n’
    reply: b’250 SMTPUTF8\r\n’
    reply: retcode (250); Msg: b’smtp.gmail.com at your service, [191.37.24.161]\nSIZE 35882577\n8BITMIME\nSTARTTLS\nENHANCEDSTATUSCODES\nPIPELINING\nCHUNKING\nSMTPUTF8′
    send: ‘STARTTLS\r\n’
    reply: b’220 2.0.0 Ready to start TLS\r\n’
    reply: retcode (220); Msg: b’2.0.0 Ready to start TLS’
    send: ‘ehlo [192.168.0.106]\r\n’
    reply: b’250-smtp.gmail.com at your service, [191.37.24.161]\r\n’
    reply: b’250-SIZE 35882577\r\n’
    reply: b’250-8BITMIME\r\n’
    reply: b’250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH\r\n’
    reply: b’250-ENHANCEDSTATUSCODES\r\n’
    reply: b’250-PIPELINING\r\n’
    reply: b’250-CHUNKING\r\n’
    reply: b’250 SMTPUTF8\r\n’
    reply: retcode (250); Msg: b’smtp.gmail.com at your service, [191.37.24.161]\nSIZE 35882577\n8BITMIME\nAUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH\nENHANCEDSTATUSCODES\nPIPELINING\nCHUNKING\nSMTPUTF8′
    send: AUTH
    reply: b’534-5.7.9 Application-specific password required. Learn more at\r\n’
    reply: b’534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor j7-20020a9d7d87000000b006a973ec4660sm4918651otn.78 – gsmtp\r\n’
    reply: retcode (534); Msg: b’5.7.9 Application-specific password required. Learn more at\n5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor j7-20020a9d7d87000000b006a973ec4660sm4918651otn.78 – gsmtp’
    send: AUTH
    reply: b’334 UGFzc3dvcmQ6\r\n’
    reply: retcode (334); Msg: b’UGFzc3dvcmQ6′
    send: ‘ZWF1dWJ2OGU=\r\n’
    reply: b’534-5.7.9 Application-specific password required. Learn more at\r\n’
    reply: b’534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor j7-20020a9d7d87000000b006a973ec4660sm4918651otn.78 – gsmtp\r\n’
    reply: retcode (534); Msg: b’5.7.9 Application-specific password required. Learn more at\n5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor j7-20020a9d7d87000000b006a973ec4660sm4918651otn.78 – gsmtp’

    Reply
    • Sorry, but I don’t know how to solve this yet. Let me figure it out or maybe someone from community could help you

      Reply
    • You likely used your Google Account password (Application-specific password required). Instead use the App Password Google generated for in a previous step.

      Note: I noticed it copied the password with spaces in between and additional space at the end of the password. I erased only the trailing space and left the other. I don’t know if it matters, but that’s how it worked for me on the first try.

      Reply
      • i convert it on calibre, but i tried with AZW, EPUB, MOBI format and no matter which one i tried it still didn’t show me the page numbers when i read them on my kindle, nor on the kindle app on my phone. did i send them to my kindle wrong? the email works so i know i set that up correct, and i can see the files on my kindle when i click “share” and then “send email to:” on calibre, but as i said, it just shows me reading time and loc 🙁 pls im so desperate for this

        Reply
      • i converted using calibre, i used AZW, MOBI and EPUB. im sure the email works, and i click “share” and then click “send to this email:” maybe im sending it wrong? i can see reading time and loc but no page numbers

        Reply
  4. hi! when i send it like this, i can see loc and reading time but cant see the page numbers. i know the mail works so i did the steps right, can you help?

    Reply

Leave a Comment