# Bug OP-14460 - Incorrect link to document in 'document added' mail

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-14460

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 13.4.0 |
| Observed in versions |  |
| Sprint | 13.4.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Given user A and B in the same projects with documents enabled
2.  As user A Under 'My account' -\> E-Mail notifications, enable notifications for added documents
3.  As user B, add a new document

### What is the buggy behavior?

  - An email is sent with a wrong link to the added document in the plain text body (it is correct in the html part), looking like this: /projects/205/documents

### What is the expected behavior?

  - the link should end with /documents/205 instead to be correct

**OpenProject version**

*v13.3.1*
