Create a job application from an email
A spontaneous application or an answer to a job offer arrives by email: Capmail turns it into a job application of the Dolibarr Recruitment module. The resume and the cover letter are copied into the documents of the application, the email is linked to it, and the messages that follow join it on their own.
A candidate is not a customer: no third party is created.
Before you start
- the Dolibarr Recruitment module is enabled;
- to see the Application tab: the read right of the Recruitment module, shown by Dolibarr as Read job positions to fill and candidatures;
- to create an application or link an email to one: the Create/Update job positions to fill and candidatures right. The Recruitment module has a single set of rights, shared by job positions and applications.
The email does not need to be linked to a third party.
From the Lead Mode
- Open the email.
- In the right column, choose the Application tab. It is offered whether the email is linked to a third party or not.
- Check the form, pre-filled from the email:
| Field | Detail |
|---|---|
| Last name, First name | taken from the sender name. A word written in capitals is taken as the last name ("Marie CURIE", "CURIE Marie"). If an incoming email template extracted the name, that one is kept. |
| required. The sender address, unless it belongs to one of your domains (see below). | |
| Phone | found in the body of the email when there is one. |
| Job position | "Spontaneous application" by default, or one of the open positions. The position is selected for you when the email was sent to the address of its recruiter (see below). |
| Requested salary | optional. |
| Complementary attributes | the ones you defined for applications (see below). |
| Attachments | tick the ones to copy into the application (resume, letter). You can rename them on the way. |
- Click Create an application. A link to the application card is shown.
The body of the email becomes the description of the application.
The job position does not exist yet
Next to the list of positions, New job position opens a small form:
- Job title, required;
- Recruitment manager, required, you by default;
- Recruiter address, optional.
Create the position records it open straight away and selects it in the application. It is not left as a draft: the application card of Dolibarr only offers open positions.
The recruiter address designates the position for the next emails (see "Job position chosen from the address"). Do not put a general address such as contact@ there: every email arriving at it would be taken for an application to that position by the automatic filter.
To also fill in the expected date, the salary or the description, Complete form opens the form of the Recruitment module in a new tab. Validate the position in that tab, then come back to Capmail: the list of positions updates on its own, without losing what you typed.
Sorting applications: complementary attributes
Dolibarr offers no tags (categories) for applications. To sort them, define complementary attributes in the setup of the Recruitment module, Complementary attributes (job applications) tab, for instance:
- Skills, as checkboxes (PHP, accounting, driving licence...);
- Origin of the application (website, job fair, referral, job board);
- Availability, as a date.
Capmail shows them in the form of the Application tab, with the same lists and calendars as Dolibarr, and saves them on the application. A required attribute must be filled in before the creation. Dolibarr then shows them on the card and in the list of applications, where you can filter on them.
Skills taken from the HRM module
Instead of a list of values fixed in the attribute, point it at the skills of the HRM module: type Checkboxes from table (or Select from table for a single value), parameter hrm_skill:label:rowid. The skills are then managed in HRM > Skills, and also serve the evaluations of employees.
To offer only one kind of skill, add a filter: hrm_skill:label:rowid::skill_type=0 for know-how, skill_type=1 for soft skills, skill_type=9 for knowledge.
A skill is missing for an unusual profile? Under the attribute, New skill opens a field: type the label, choose the type, then Add (or Enter). The skill is created in the HRM module, with its default levels, and ticked at once. If a skill with the same name already exists, whatever the case, that one is ticked. When the attribute filters on one type, only that type is offered.
The link only shows with the Create/modify skill/job/position right of the HRM module.
Only the attributes visible at creation are offered. The quick creation from the card of an email and the automatic filter do not ask for them: complete them on the application card.
From the card of an email
The Job application box, in the right column, offers a quick creation: choose the job position (or "Spontaneous application") then click Create an application. Last name, first name, address and phone are taken from the email without a form, and every attachment is copied. Correct them afterwards on the application card if needed.
Once the application is created, the box shows the link to its card.
The New job position link of the box opens the form of the Recruitment module in a new tab. Validate the position, then reload the card of the email for it to be offered.
The candidate has already written
The tab and the box list the applications already recorded for the same address. The Link button links the email to one of them instead of creating a new one. In the Lead Mode, the ticked attachments are then copied into that application, handy for an updated resume.
An email never gives two applications: a second click, or a filter run again on the same email, brings back the application already created.
What Capmail does automatically
- Draft: the application is created as a draft, with a provisional "(PROV...)" reference, like the ones created by the Dolibarr email collector. Validate it from its card to give it its final reference; its documents follow.
- Attachments copied, never moved: the email keeps its own. The
email.emlsource file is not copied. - Link between the email and the application: the application appears in the linked objects of the email, and the email in the "Linked objects" block of the application card.
- Rest of the exchange: when the candidate answers, the answer is linked to the same application. This works for an answer to the application email, to a reply sent from Capmail, or to an email sent from the application card in Dolibarr. Your own replies sent from Capmail are linked the same way.
Back on the email
The email stays without a third party, on purpose. Capmail shows it as processed all the same:
- in the list, the name of the candidate replaces the Unknown badge;
- when the email is opened, a banner presents the candidate: name, reference and status of the application, job position, address. The name leads to the application card;
- the Application tab opens first, and no third party is offered as a duplicate;
- the filter of the emails without third party (Unknown badge, "broken link" criterion of the search) no longer lists it: nothing is left to qualify.
The answers linked to the application on their own are shown the same way. Without the read right of the Recruitment module, the email is shown as an email without third party.
If the email is also linked to a third party (a recruitment agency, for instance), the third party is shown.
Job position chosen from the address
Each job position of the Recruitment module carries the email address of its recruiter. If you publish an offer with its own address (jobs-php@your-company.com), an email sent to that address is an application to that position: Capmail selects it.
Only open (validated) positions are considered. If several open positions share the same address (hr@ for everyone), Capmail does not guess: the application stays spontaneous and you choose the position.
Form of your website and forward from a colleague
When the sender is an address of one of your domains (Company mail domains setting, Behavior tab of the configuration), it is not the candidate: it is your website relaying a form, or a colleague forwarding. Capmail then takes the first outside address found in the email, and does not take the sender name. Check the form before creating.
Automatically, with a filter
The filter action Create a job application (Recruitment module) does the same without anyone: position chosen from the address, every attachment copied. Example: any email arriving at recruitment@ becomes an application. See Automatically filter incoming mail.
Capmail does not make the email private: in Capmail, a private email is visible to the owner of the mailbox only, and on a shared mailbox it would disappear for the whole team. On a personal mailbox, add the Mark as private action to the same filter if you wish.
Personal data
A job application holds personal data. It is never offered among the objects to insert in a message, and its reference is not looked for in the text of emails like the one of a quote or an invoice. Their retention period is managed in the Dolibarr Recruitment module.
Troubleshooting
| Message | Cause | Solution |
|---|---|---|
| No address of the candidate was found in this mail | the sender is one of your domains and the email holds no other address | type the candidate address in the Lead Mode form |
| Field '...' is required | a required complementary attribute is empty | fill it in the form of the Application tab |
| This job position cannot be found | the position was deleted, or belongs to another entity | choose another position or "Spontaneous application" |
| The module of this object is not enabled | the Recruitment module is disabled | enable it in the module configuration |
| No Application tab | read right of the Recruitment module missing | get "Read job positions to fill and candidatures" granted |
| The tab shows no creation form | you only have the read right | get "Create/Update job positions to fill and candidatures" granted |