We have configured a Gmail Email Address solely for importing mails. Added credentials and configured this:



Underneath every DocType, there is a dropmail. That's fine, but when sending a external email from Gmail to this dropbox email, no entry is set underneath.
ERPNext: v12.1.8 (master)
Frappe Framework: v12.0.17 (master)
Maybe "append to" has to be filled.
We tried it both with and without it being checked.
Himanshu, [21.11.2019, 13:02:02]:
@mtrvss I tested the feature in frappe and it works perfectly fine
We will debug why is it not working on your instance
Himanshu, [21.11.2019, 13:11:30]:
I have sent an email from gmail to [email protected] which is an Email Account in our system, so when that email was pulled into erpnext, that email got linked to the email account
Mario Trvss, [21.11.2019, 13:12:49]:
maybe our problem is that the Email Account is not working properly for us. Not the dropbox feature.
I check that.
Hello to you all,
I have tried the e-mail linking feature and it seems to work. Though I notice that the reference is not always right:

Hey,
yeah. We've noticed the same.
Mario Truß
Wolfram Schmidt notifications@github.com schrieb am Di., 7. Jan. 2020,
12:00:
Hello to you all,
I have tried the e-mail linking feature and it seems to work. Though I
notice that the reference is not always right:
[image: grafik]
https://user-images.githubusercontent.com/22279621/71890710-32064e80-3145-11ea-967b-c2287d8dd6f8.png—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/frappe/erpnext/issues/19615?email_source=notifications&email_token=AFZHDOPT5YPPOUC6A55RQKDQ4ROFHA5CNFSM4JPBNXK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIIQCEQ#issuecomment-571539730,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFZHDOJGO5TGQMARZOLH7PDQ4ROFHANCNFSM4JPBNXKQ
.
I just noticed the following:
When I'm working on a DocType and don't save it, then open a new DocType and save it, it will have the same e-mail reference link as the first. Please try if you can recreate this.
Magic seems to be the case here :) After a little while the reference link has corrected its self...

It’s a caching issue. Himanshu has analyzed it already I believe.
On Tue, Jan 7 2020 at 1:34 PM, < [email protected] > wrote:
Magic seems to be the case here :) After a little while the reference link
has corrected its self...
Bildschirmfoto von 2020-01-07 13-33-27 (
https://user-images.githubusercontent.com/22279621/71895842-6df3e080-3152-11ea-890c-7bc69e7c011a.png
)—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (
https://github.com/frappe/erpnext/issues/19615?email_source=notifications&email_token=AAZZDVQP32FDKLGI4WAJGDTQ4RZFXA5CNFSM4JPBNXK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIIXDJA#issuecomment-571568548
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AAZZDVRRIEEFX6GKURNW67LQ4RZFXANCNFSM4JPBNXKQ
).
@hrwX Maybe it would help if the e-mail linke is only created once on Doc creation. Even on Docs which are already submitted the address seems to change.
Just a though: Maybe it makes sense to link the e-mails to the namingseries. As DocTypes get their ID on save and not on creation this might be a good mounting point for the e-mail link?!
Yes, I like the idea.
On Tue, Jan 14, 2020 at 11:34:47, Wolfram Schmidt < [email protected] > wrote:
Just a though: Maybe it makes sense to link the e-mails to the
namingseries. As DocTypes get their ID on save and not on creation this
might be a good mounting point for the e-mail link?!—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (
https://github.com/frappe/erpnext/issues/19615?email_source=notifications&email_token=AAZZDVVUEWPNOUUCW2KIC6DQ5WIMPA5CNFSM4JPBNXK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI4DXRY#issuecomment-574110663
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AAZZDVU4BFAADRAUAPQJYEDQ5WIMPANCNFSM4JPBNXKQ
).
@wojosc @mseibert The email link is a combination of document_type and document_name which is unique. Also the link not refreshing issue is related to the UI which is not updating the link to a newer one. I'll shortly be releasing a fix for that.
Description of the issue
We have configured a Gmail Email Address solely for importing mails. Added credentials and configured this:
Underneath every DocType, there is a dropmail. That's fine, but when sending a external email from Gmail to this dropbox email, no entry is set underneath.
Additional information
ERPNext: v12.1.8 (master)
Frappe Framework: v12.0.17 (master)
Email Import doesn't work with BCC due to the way BCC is handled in the emails. If you want to use this feature, put the email link in To or Cc
@MarioMeetsWorld @mseibert @wojosc I have opened a new PR for the fix https://github.com/frappe/frappe/pull/9270
Thanks @hrwX I'll be happy to test once released.
Hi @mariotruss , please consider closing this. It has been fixed in frappe/frappe#9270.